Skip to content

Commit ecf0036

Browse files
committed
feat: add textarea min-lines
1 parent 1e517a6 commit ecf0036

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system/core/src/components/TextAreaCore.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export const textareaSizingStyles = css`
1313
${inputStyles}
1414
width: var(--tk-input-width);
1515
--tk-textarea-height: calc(
16-
var(--tk-input-height) - (var(--tk-input-border-width) * 2)
16+
2lh + (var(--tk-input-border-width) * 2) +
17+
(var(--tk-input-vertical-padding) * 2)
1718
);
1819
min-height: var(--tk-textarea-height);
1920
resize: vertical;

0 commit comments

Comments
 (0)