diff --git a/packages/ffe-datepicker/less/dateinput.less b/packages/ffe-datepicker/less/dateinput.less index f9d317e90a..f40908991d 100644 --- a/packages/ffe-datepicker/less/dateinput.less +++ b/packages/ffe-datepicker/less/dateinput.less @@ -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; } @@ -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;