diff --git a/gallery/src/pages/components/ha-wa-dialog.ts b/gallery/src/pages/components/ha-wa-dialog.ts index 41fafe785d..5a88561e66 100644 --- a/gallery/src/pages/components/ha-wa-dialog.ts +++ b/gallery/src/pages/components/ha-wa-dialog.ts @@ -381,10 +381,6 @@ export class DemoHaWaDialog extends LitElement { --dialog-z-index Z-index for the dialog. - - --dialog-surface-position - CSS position of the dialog surface. - --dialog-surface-margin-top Top margin for the dialog surface. diff --git a/src/components/ha-wa-dialog.ts b/src/components/ha-wa-dialog.ts index a571acc38b..42448c5425 100644 --- a/src/components/ha-wa-dialog.ts +++ b/src/components/ha-wa-dialog.ts @@ -49,7 +49,6 @@ export type DialogWidth = "small" | "medium" | "large" | "full"; * @cssprop --ha-dialog-surface-background - Dialog background color. * @cssprop --ha-dialog-border-radius - Border radius of the dialog surface. * @cssprop --dialog-z-index - Z-index for the dialog. - * @cssprop --dialog-surface-position - CSS position of the dialog surface. * @cssprop --dialog-surface-margin-top - Top margin for the dialog surface. * * @attr {boolean} open - Controls the dialog open state. @@ -244,7 +243,6 @@ export class HaWaDialog extends LitElement { calc(var(--safe-height) - var(--ha-space-20)) ); min-height: var(--ha-dialog-min-height); - position: var(--dialog-surface-position, relative); margin-top: var(--dialog-surface-margin-top, auto); /* Used to offset the dialog from the safe areas when space is limited */ transform: translate(