@14ch/svelte-ui 0.0.58 → 0.0.59
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.
|
@@ -930,6 +930,8 @@
|
|
|
930
930
|
* 基本コンポーネント
|
|
931
931
|
* ============================================= */
|
|
932
932
|
input {
|
|
933
|
+
/* block にして親の line-height による行ボックス内ベースライン配置のズレを防ぐ */
|
|
934
|
+
display: block;
|
|
933
935
|
width: 100%;
|
|
934
936
|
min-width: 1em;
|
|
935
937
|
min-height: var(--svelte-ui-input-height);
|
|
@@ -941,7 +943,7 @@
|
|
|
941
943
|
font-size: inherit;
|
|
942
944
|
font-weight: inherit;
|
|
943
945
|
color: inherit;
|
|
944
|
-
line-height:
|
|
946
|
+
line-height: var(--svelte-ui-input-height);
|
|
945
947
|
text-align: inherit;
|
|
946
948
|
|
|
947
949
|
&[type='number'] {
|
|
@@ -964,7 +966,7 @@
|
|
|
964
966
|
font-size: inherit;
|
|
965
967
|
font-weight: inherit;
|
|
966
968
|
color: inherit;
|
|
967
|
-
line-height:
|
|
969
|
+
line-height: var(--svelte-ui-input-height);
|
|
968
970
|
text-align: inherit;
|
|
969
971
|
opacity: 1;
|
|
970
972
|
transition: none;
|
|
@@ -1221,6 +1223,7 @@
|
|
|
1221
1223
|
.input--inline .input__wrapper,
|
|
1222
1224
|
.input--inline input {
|
|
1223
1225
|
min-height: inherit;
|
|
1226
|
+
line-height: inherit;
|
|
1224
1227
|
background-color: transparent;
|
|
1225
1228
|
box-shadow: none;
|
|
1226
1229
|
border: inherit;
|
|
@@ -1232,6 +1235,7 @@
|
|
|
1232
1235
|
.input__display-text,
|
|
1233
1236
|
.input__link-text {
|
|
1234
1237
|
height: inherit;
|
|
1238
|
+
line-height: inherit;
|
|
1235
1239
|
padding: inherit;
|
|
1236
1240
|
}
|
|
1237
1241
|
|