Skip to content

Commit 86ebe3e

Browse files
fix: help text respects input size
1 parent 7ad1d8c commit 86ebe3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

1st-gen/packages/textfield/src/spectrum-textfield.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@
213213
margin-block-start: var(--mod-textfield-helptext-spacing-block, var(--spectrum-textfield-helptext-spacing-block));
214214
}
215215

216+
::slotted([slot="help-text"]) {
217+
inline-size: var(--mod-textfield-width, var(--spectrum-textfield-width));
218+
}
219+
216220
.spectrum-Textfield-characterCount {
217221
inline-size: auto;
218222
font-size: var(--mod-textfield-character-count-font-size, var(--spectrum-textfield-character-count-font-size));

0 commit comments

Comments
 (0)