diff --git a/src/components/menu/MenuItem.jsx b/src/components/menu/MenuItem.jsx index 17dd46e2d..936bca432 100644 --- a/src/components/menu/MenuItem.jsx +++ b/src/components/menu/MenuItem.jsx @@ -74,7 +74,7 @@ function MenuItem(props) { } return ( -
  • +
  • {getCheckbox()} {getIcon()} diff --git a/src/components/menu/index.css b/src/components/menu/index.css index 9f951b477..31a52156d 100644 --- a/src/components/menu/index.css +++ b/src/components/menu/index.css @@ -269,13 +269,13 @@ ul.menu { max-width: 100%; } -.visible-menu-item { +.visible-menu-item, .visible-overflow { order: 0; visibility: visible; opacity: 1; } -.invisible-menu-item { +.invisible-menu-item, .invisible-overflow { order: 100; visibility: hidden; pointer-events: none; @@ -302,3 +302,20 @@ ul.menu { .in-overflow-menu:hover { background-color: transparent; } + +/* margin unless it is the only item showing */ +nav.navigation ul.menu li.more-dropdown-wrapper:not(:nth-child(1 of li.visible-menu-all)) { + margin-left: -50px; +} + +nav.navigation ul.menu li:nth-last-child(1 of li.visible-menu-item):not(:nth-last-child(1 of li.overflow-member)) { + padding-right: 50px; +} + +.MuiPopover-root svg.icon-with-text { + color: #9a8866; +} + +.MuiPopover-root .overflow-hidden { + display: none; +} diff --git a/src/components/menu/index.js b/src/components/menu/index.js index 3f85fd496..16c521c55 100644 --- a/src/components/menu/index.js +++ b/src/components/menu/index.js @@ -114,7 +114,7 @@ const Menu = () => {