Skip to content

Commit

Permalink
Restore partial border effect for menu (#13878)
Browse files Browse the repository at this point in the history
cherry-picked from 18c3af7
  • Loading branch information
krassowski authored Jan 30, 2023
1 parent 2be0821 commit 9871170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/application/style/menus.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

.lm-MenuBar-menu {
transform: translateY(calc(-2 * var(--jp-border-width)));
top: calc(-2 * var(--jp-border-width));
}

.lm-MenuBar-item {
Expand Down Expand Up @@ -154,7 +154,7 @@
border-top: var(--jp-border-width) solid var(--jp-layout-color2);
}

/* gray out icon/caret for disable menu items */
/* gray out icon/caret for disabled menu items */
.lm-Menu-item.lm-mod-disabled > .lm-Menu-itemIcon,
.lm-Menu-item[data-type='submenu'].lm-mod-disabled > .lm-Menu-itemSubmenuIcon {
opacity: 0.4;
Expand Down

0 comments on commit 9871170

Please sign in to comment.