Skip to content

Commit

Permalink
fix: left side padding on list-item when hovering
Browse files Browse the repository at this point in the history
  • Loading branch information
larseirikhansen committed Aug 17, 2023
1 parent c7771d2 commit 6de5bc9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions @navikt/core/css/form/combobox.css
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@
padding-left: calc(var(--a-spacing-3) - 4px);
}

.navds-form-field--small .navds-combobox__list-item--focus,
.navds-form-field--small .navds-combobox__list-item:hover {
padding-left: calc(var(--a-spacing-2) - 4px);
}

.navds-combobox__list-item--selected {
background-color: var(--ac-combobox-list-item-selected-bg, var(--a-surface-selected));
}
Expand Down

0 comments on commit 6de5bc9

Please sign in to comment.