Fix resizable-bottom-sheet background (#27439)

This commit is contained in:
Wendelin
2025-10-10 14:27:53 +02:00
committed by GitHub
parent 6653333c38
commit c2f21c19af
2 changed files with 3 additions and 1 deletions

View File

@@ -220,7 +220,7 @@ export class HaResizableBottomSheet extends LitElement {
min-height: var(--min-height, 30dvh);
background-color: var(
--ha-bottom-sheet-surface-background,
var(--ha-dialog-surface-background, var(--mdc-theme-surface, #fff)),
var(--ha-color-surface-default)
);
display: flex;
flex-direction: column;

View File

@@ -302,6 +302,8 @@ export default class HaAutomationSidebar extends LitElement {
--ha-bottom-sheet-border-style: solid;
--ha-bottom-sheet-border-color: var(--primary-color);
margin-top: var(--safe-area-inset-top);
--ha-bottom-sheet-surface-background: var(--card-background-color);
}
@media all and (max-width: 870px) {