Skip to content

Commit

Permalink
fix: also apply focus-ring width custom property to invalid state (#8467
Browse files Browse the repository at this point in the history
) (#8471)

Co-authored-by: Serhii Kulykov <[email protected]>
  • Loading branch information
vaadin-bot and web-padawan authored Jan 9, 2025
1 parent 128154a commit 0d4ce83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vaadin-lumo-styles/mixins/input-field-shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const inputField = css`
}
:host([invalid][focus-ring]) [part='input-field'] {
box-shadow: 0 0 0 2px var(--lumo-error-color-50pct);
box-shadow: 0 0 0 var(--_focus-ring-width) var(--lumo-error-color-50pct);
}
:host([input-prevented]) [part='input-field'] {
Expand Down

0 comments on commit 0d4ce83

Please sign in to comment.