fix: Allow submenus to overflow the menu in all cases (#1768)

This commit is contained in:
Dermot Duffy
2024-12-16 18:51:46 -08:00
committed by GitHub
parent e2b6d38fc2
commit 86439af90e
+3 -14
View File
@@ -10,6 +10,9 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
// Allow submenus to overflow the menu "bar".
overflow: visible;
} }
/******************************************************* /*******************************************************
@@ -113,20 +116,6 @@ div.opposing {
* Positioning for absolute based menu styles * 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='top']),
:host([data-style='overlay'][data-position='bottom']), :host([data-style='overlay'][data-position='bottom']),
:host([data-style*='hover'][data-position='top']), :host([data-style*='hover'][data-position='top']),