Skip to content

Commit

Permalink
fix: Allow submenus to overflow the menu in all cases (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
dermotduffy authored Dec 17, 2024
1 parent e2b6d38 commit 86439af
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions src/scss/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
display: flex;
flex-direction: row;
justify-content: space-between;

// Allow submenus to overflow the menu "bar".
overflow: visible;
}

/*******************************************************
Expand Down Expand Up @@ -113,20 +116,6 @@ div.opposing {
* Positioning for absolute based menu styles
********************************************/

:host([data-style='overlay']),
:host([data-style*='hover']),
:host([data-style='hidden']) {
overflow: hidden;
width: calc(var(--frigate-card-menu-button-size) + 6px);
height: calc(var(--frigate-card-menu-button-size) + 6px);
}

:host([data-style='overlay']),
:host([data-style*='hover']),
:host([data-style='hidden'][expanded]) {
overflow: visible;
}

:host([data-style='overlay'][data-position='top']),
:host([data-style='overlay'][data-position='bottom']),
:host([data-style*='hover'][data-position='top']),
Expand Down

0 comments on commit 86439af

Please sign in to comment.