@q1travel/design-system 0.27.1 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-pkg/style.css +8 -0
- package/package.json +1 -1
package/dist-pkg/style.css
CHANGED
|
@@ -1077,8 +1077,11 @@
|
|
|
1077
1077
|
font-size: var(--q1-font-size-copy-16);
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
|
+
/* 内部 input 纵向拉满外框内高:外框 align-items:center 只为前后缀与按钮居中,
|
|
1081
|
+
input 若随之居中会缩回自身行高,外框内上下留出点不中的空白带。 */
|
|
1080
1082
|
.input-control .form-control {
|
|
1081
1083
|
flex: 1;
|
|
1084
|
+
align-self: stretch;
|
|
1082
1085
|
min-width: 0;
|
|
1083
1086
|
min-height: 0;
|
|
1084
1087
|
border: none;
|
|
@@ -1441,6 +1444,11 @@
|
|
|
1441
1444
|
min-height: 48px;
|
|
1442
1445
|
}
|
|
1443
1446
|
|
|
1447
|
+
/* 外框内的 input 不带自身最小高度:lg 档 48px 会把外框撑到 50px,高出同档普通 Input。 */
|
|
1448
|
+
.input-control .form-control--input {
|
|
1449
|
+
min-height: 0;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1444
1452
|
.input-control {
|
|
1445
1453
|
min-height: 44px;
|
|
1446
1454
|
font-size: var(--q1-font-size-copy-16);
|