@14ch/svelte-ui 0.0.59 → 0.0.60

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.
@@ -1239,6 +1239,16 @@
1239
1239
  padding: inherit;
1240
1240
  }
1241
1241
 
1242
+ /*
1243
+ * 箱は継承 line-height(周囲テキストへの追従)を保ちつつ、表示テキストの内側だけ
1244
+ * 自然な line-height にして flex 中央寄せする。input は line-height に依らず内容ボックス
1245
+ * 中央にテキストを描画するため、こうすると focus 切り替え時の縦位置が一致する
1246
+ */
1247
+ .input__display-text-content,
1248
+ .input__link-text-content {
1249
+ line-height: normal;
1250
+ }
1251
+
1242
1252
  &.input--has-left-icon {
1243
1253
  input,
1244
1254
  .input__display-text,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@14ch/svelte-ui",
3
3
  "description": "Modern Svelte UI components library with TypeScript support",
4
4
  "private": false,
5
- "version": "0.0.59",
5
+ "version": "0.0.60",
6
6
  "type": "module",
7
7
  "keywords": [
8
8
  "svelte",