Skip to content

Commit

Permalink
Fix popup border radius
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Aug 7, 2023
1 parent b874b55 commit 8f5d29d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/common-styles/sv-popup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ sv-popup {

.sv-popup__container {
box-shadow: $shadow-large;
border-radius: calcCornerRadius(2);
border-radius: calcCornerRadius(1);
position: absolute;
padding: 0;
}

.sv-popup__shadow {
width: 100%;
height: 100%;
border-radius: calcCornerRadius(2);
border-radius: calcCornerRadius(1);
}

.sv-popup__body-content {
Expand Down Expand Up @@ -62,7 +62,8 @@ sv-popup {
height: auto;
}
}
.sv-popup.sv-popup--modal > .sv-popup__container {

.sv-popup.sv-popup--modal>.sv-popup__container {
position: static;
}

Expand Down Expand Up @@ -112,6 +113,7 @@ sv-popup {
color: $primary-foreground;
}
}

.sv-popup--overlay.sv-popup--overlay:not(.sv-dropdown-popup) {
.sv-popup__body-footer .sv-action {
flex: 1 0 0;
Expand Down Expand Up @@ -361,7 +363,9 @@ sv-popup {
}
}
}

.sv-dropdown-popup.sv-popup--overlay.sv-multi-select-list {

.sv-list__item:hover,
.sv-list__item:focus,
.sv-list__item--focused {
Expand Down

0 comments on commit 8f5d29d

Please sign in to comment.