Skip to content

Commit

Permalink
fix(business): fix stacking order and border issue (#234)
Browse files Browse the repository at this point in the history
Closes #219
  • Loading branch information
kyubisation authored Nov 27, 2019
1 parent 7214487 commit 54a7a36
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ $sbbContextmenuBorderRadius: 2px;
border: 1px solid transparent;
padding: $sbbContextmenuPadding;
position: relative;
z-index: 1002;
display: inline-flex;
align-items: center;
outline: 0;
Expand Down Expand Up @@ -67,6 +66,7 @@ $sbbContextmenuBorderRadius: 2px;

.sbb-dropdown-panel.sbb-contextmenu-dropdown:not(.sbb-dropdown-panel-above) {
transform: translateY(-1px);
border-bottom: none;

&:not(.sbb-dropdown-panel-left) {
border-top-left-radius: 0;
Expand All @@ -87,6 +87,7 @@ $sbbContextmenuBorderRadius: 2px;

.sbb-dropdown-panel.sbb-contextmenu-dropdown.sbb-dropdown-panel-above {
transform: translateY(1px);
border-top: none;

&:not(.sbb-dropdown-panel-left) {
border-bottom-left-radius: 0;
Expand Down

0 comments on commit 54a7a36

Please sign in to comment.