Skip to content

Commit a2e5720

Browse files
committed
fix: hide borders on action menu when sidebar is visible
1 parent 541ca3a commit a2e5720

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/uikit-workshop/src/sass/scss/05-themes/_light-theme.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@
2525
/**
2626
* Tools dropdown
2727
*/
28-
.pl-c-tools__list.pl-is-active {
29-
border-bottom: 1px solid $pl-color-gray-20;
30-
border-left: 1px solid $pl-color-gray-20;
28+
29+
// don't show border to the left / bottom when in vertical mode
30+
&:not(.pl-c-body--theme-sidebar) {
31+
.pl-c-tools__list.pl-is-active {
32+
border-bottom: 1px solid $pl-color-gray-20;
33+
border-left: 1px solid $pl-color-gray-20;
34+
}
3135
}
3236

3337
/**

0 commit comments

Comments
 (0)