Skip to content

Commit 853df59

Browse files
authored
fix: word counter position when text area have cols (#18282)
1 parent 1abaf5a commit 853df59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/styles/scss/components/text-area/_text-area.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@
104104
inline-size: 1px;
105105
}
106106

107+
.#{$prefix}--form-item {
108+
&:has(.#{$prefix}--text-area__wrapper--cols) {
109+
inline-size: fit-content;
110+
}
111+
}
112+
107113
//-----------------------------
108114
// Disabled
109115
//-----------------------------

0 commit comments

Comments
 (0)