|
@@ -73,6 +73,34 @@ ion-header {
|
|
line-height: 1.6;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ /* 为父容器添加 flex 布局 */
|
|
|
|
+.input-group-container {
|
|
|
|
+ flex: 1; /* 确保每个容器占据相同的空间 */
|
|
|
|
+ margin-right: 20px; /* 容器之间的间距 */
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 为容器的父元素添加 flex 布局,使得两个 .input-group-container 并排显示 */
|
|
|
|
+.input-group-container-wrapper {
|
|
|
|
+ display: flex; /* 设置父容器为弹性布局 */
|
|
|
|
+ justify-content: space-between; /* 容器之间的间距均等 */
|
|
|
|
+ gap: 20px; /* 控制容器之间的间隙 */
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 调整每个 input-group-container 内部元素的布局 */
|
|
|
|
+.input-group-container h1 {
|
|
|
|
+ margin-bottom: 10px; /* 减少标题和输入框之间的间距 */
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 为 ion-input 添加一些宽度设置 */
|
|
|
|
+ion-input {
|
|
|
|
+ width: 100%; /* 确保输入框宽度填满容器 */
|
|
|
|
+ box-sizing: border-box; /* 让宽度计算包括内边距 */
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
ion-input,
|
|
ion-input,
|
|
ion-textarea {
|
|
ion-textarea {
|
|
--background: white;
|
|
--background: white;
|
|
@@ -82,10 +110,10 @@ ion-header {
|
|
}
|
|
}
|
|
|
|
|
|
div {
|
|
div {
|
|
- padding: 20px;
|
|
|
|
|
|
+ padding: 10px;
|
|
background-color: #f8f8f8;
|
|
background-color: #f8f8f8;
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
- margin-top: 20px;
|
|
|
|
|
|
+ margin-top: 10px;
|
|
font-size: 1.1em;
|
|
font-size: 1.1em;
|
|
color: #333;
|
|
color: #333;
|
|
}
|
|
}
|