fix: Allow submenus to overflow the menu in all cases (#1768)
This commit is contained in:
+3
-14
@@ -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']),
|
||||||
|
|||||||
Reference in New Issue
Block a user