Skip to content

Commit

Permalink
[Darkside] Combobox: add scroll-margin (#3397)
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan authored Nov 22, 2024
1 parent c8fd958 commit e257bf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @navikt/core/css/darkside/form/combobox.darkside.css
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@
border: 0;
margin-inline: var(--ax-spacing-2);
margin-block: var(--ax-spacing-1);
scroll-margin-block: 8px; /* outline + outline-offset + margin-block */
}

.navds-combobox__list-item--no-options {
Expand Down

0 comments on commit e257bf4

Please sign in to comment.