Skip to content

Commit

Permalink
fix(ffe-form): add 1px to border of input when :hover state is active
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenek committed Jan 20, 2025
1 parent 606c28b commit bfb1146
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/ffe-form/less/input-field.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
border: var(--ffe-g-border-width-focus) solid var(--ffe-g-primary-color);
outline: none;
}
&:hover {
box-shadow: 0 0 0 1px var(--ffe-g-primary-color);
}

&--inline {
display: inline-block;
Expand Down Expand Up @@ -64,7 +67,8 @@
}

&:focus {
border-bottom: var(--ffe-g-border-width-focus) solid var(--ffe-g-primary-color);
border-bottom: var(--ffe-g-border-width-focus) solid
var(--ffe-g-primary-color);
}

&[aria-invalid='true'] {
Expand Down

0 comments on commit bfb1146

Please sign in to comment.