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
View File
@@ -18,6 +18,14 @@
width: 100%;
background: var(--secondary-background-color);
}
:host([data-mode="above"]) {
border-top-left-radius: var(--ha-card-border-radius, 4px);
border-top-right-radius: var(--ha-card-border-radius, 4px);
}
:host([data-mode="below"]) {
border-bottom-left-radius: var(--ha-card-border-radius, 4px);
border-bottom-right-radius: var(--ha-card-border-radius, 4px);
}
:host([data-mode$="-left"]) {
left: 0px;