Skip to content

Commit

Permalink
chore: min width
Browse files Browse the repository at this point in the history
  • Loading branch information
tuva-odegard committed Dec 16, 2024
1 parent f26f53a commit 98049ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/ffe-datepicker/less/dateinput.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
display: block;
}

&:has([aria-invalid='true']){
&:has([aria-invalid='true']), &:has([aria-invalid='true']):hover{
border-color: var(--ffe-g-error-color);
border-style: solid;
}
Expand All @@ -22,6 +22,10 @@
&__field {
padding-block: var(--ffe-spacing-2xs);

&-year {
min-width: 4ch;
}

&:focus {
background-color: var(--ffe-farge-frost-30);
outline: none;
Expand Down

0 comments on commit 98049ab

Please sign in to comment.