@dorsk/tsumikit 0.2.12 → 0.2.13
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.
|
@@ -128,7 +128,11 @@
|
|
|
128
128
|
}
|
|
129
129
|
.textarea {
|
|
130
130
|
width: 100%;
|
|
131
|
-
padding
|
|
131
|
+
/* Horizontal padding matches Input/Button; vertical padding is tighter
|
|
132
|
+
(--sp-2) so a single line-box + border actually fits the 2.5rem floor —
|
|
133
|
+
--sp-3 top+bottom would overshoot it and a `rows={1}` textarea would
|
|
134
|
+
render taller than the buttons it sits beside. */
|
|
135
|
+
padding: var(--sp-2) var(--sp-3);
|
|
132
136
|
background: var(--bg);
|
|
133
137
|
border: 1px solid var(--border-strong);
|
|
134
138
|
border-radius: var(--r-md);
|
|
@@ -139,6 +143,7 @@
|
|
|
139
143
|
/* Match the single-row height of Button/Input so a `rows={1}` textarea
|
|
140
144
|
lines up with them; the native `rows` attribute grows it from here. */
|
|
141
145
|
min-height: 2.5rem;
|
|
146
|
+
line-height: var(--lh-tight);
|
|
142
147
|
font-family: inherit;
|
|
143
148
|
}
|
|
144
149
|
.textarea:focus {
|
|
@@ -146,7 +151,7 @@
|
|
|
146
151
|
border-color: var(--accent);
|
|
147
152
|
}
|
|
148
153
|
.textarea-sm {
|
|
149
|
-
padding: var(--sp-2);
|
|
154
|
+
padding: var(--sp-1) var(--sp-2);
|
|
150
155
|
font-size: var(--fs-sm);
|
|
151
156
|
min-height: 2rem;
|
|
152
157
|
}
|
package/package.json
CHANGED