Skip to content

Commit 821233a

Browse files
authored
fix(text-input): correctly set input padding for warning state (#1688)
Fixes #1687
1 parent 53899cf commit 821233a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TextInput/TextInput.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
class:bx--text-input="{true}"
203203
class:bx--text-input--light="{light}"
204204
class:bx--text-input--invalid="{error}"
205-
class:bx--text-input--warn="{warn}"
205+
class:bx--text-input--warning="{warn}"
206206
class:bx--text-input--sm="{size === 'sm'}"
207207
class:bx--text-input--xl="{size === 'xl'}"
208208
{...$$restProps}

0 commit comments

Comments
 (0)