Restore menu to relative rendering.

This commit is contained in:
Dermot Duffy
2022-03-13 11:21:21 -07:00
parent 10d36a4c3e
commit 117f5d6fdc
5 changed files with 44 additions and 74 deletions
+8 -1
View File
@@ -13,6 +13,11 @@
margin: auto;
display: flex;
justify-content: center;
// Need to apply the border radius on the container level, as the ha-card has
// overflow visible in order to allow a submenu to extend beyond the card
// boundary.
border-radius: var(--ha-card-border-radius, 4px);
}
.frigate-card-contents {
@@ -58,7 +63,9 @@ ha-card {
display: flex;
flex-direction: column;
margin: auto;
overflow: hidden;
// Some elements (such as submenus) may need to extend beyond the card boundary.
overflow: visible;
width: 100%;
height: 100%;
position: static;