Skip to content

Commit

Permalink
Work for #6423: fix mobile dropdown styles
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Jun 28, 2023
1 parent 302a758 commit 52650bd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/common-styles/sv-popup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -357,15 +357,24 @@ sv-popup {
color: $primary-foreground;
font-weight: 600;
}

.sd-list__item-body {
}
}
}
.sv-dropdown-popup.sv-popup--overlay.sv-multi-select-list {
.sv-list__item:hover,
.sv-list__item:focus,
.sv-list__item--focused {
&.sv-list__item--selected {
.sv-list__item-body {
background: $primary-light;
color: $foreground;
font-weight: 400;
}
}
}
}


.sv-dropdown-popup.sv-popup--overlay.sv-popup--tablet {
.sv-popup__body-content {
--sv-popup-overlay-max-height: calc(var(--sv-popup-overlay-height, 100vh) - #{$base-unit} * 8);
Expand Down

0 comments on commit 52650bd

Please sign in to comment.