Skip to content

Commit

Permalink
style(Textarea): Add missing error border
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Apr 19, 2024
1 parent 2ec7d2c commit abd7070
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
border-color: var(--fds-semantic-border-neutral-default);
}

.error > .textarea:not(:focus-visible) {
.textarea[aria-invalid='true']:not(:focus-visible) {
border-color: var(--fds-semantic-border-danger-default);
box-shadow: inset 0 0 0 1px var(--fds-semantic-border-danger-default);
}
Expand Down

0 comments on commit abd7070

Please sign in to comment.