mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Refactor css variable because of a typo in dialogs, no change in any behaviour (#14056)
This commit is contained in:
parent
391cc95883
commit
4deee46864
@ -55,7 +55,7 @@ export class HaDialog extends DialogBase {
|
|||||||
flex: var(--primary-action-button-flex, unset);
|
flex: var(--primary-action-button-flex, unset);
|
||||||
}
|
}
|
||||||
.mdc-dialog__container {
|
.mdc-dialog__container {
|
||||||
align-items: var(--vertial-align-dialog, center);
|
align-items: var(--vertical-align-dialog, center);
|
||||||
}
|
}
|
||||||
.mdc-dialog__title {
|
.mdc-dialog__title {
|
||||||
padding: 24px 24px 0 24px;
|
padding: 24px 24px 0 24px;
|
||||||
|
@ -269,7 +269,7 @@ export class MoreInfoDialog extends LitElement {
|
|||||||
ha-dialog {
|
ha-dialog {
|
||||||
--dialog-surface-position: static;
|
--dialog-surface-position: static;
|
||||||
--dialog-content-position: static;
|
--dialog-content-position: static;
|
||||||
--vertial-align-dialog: flex-start;
|
--vertical-align-dialog: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-header-bar {
|
ha-header-bar {
|
||||||
|
@ -234,7 +234,7 @@ class DialogZHAManageZigbeeDevice extends LitElement {
|
|||||||
ha-dialog {
|
ha-dialog {
|
||||||
--dialog-surface-position: static;
|
--dialog-surface-position: static;
|
||||||
--dialog-content-position: static;
|
--dialog-content-position: static;
|
||||||
--vertial-align-dialog: flex-start;
|
--vertical-align-dialog: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-header-bar {
|
ha-header-bar {
|
||||||
|
@ -336,7 +336,7 @@ export const haStyleDialog = css`
|
|||||||
);
|
);
|
||||||
--mdc-dialog-min-height: 100%;
|
--mdc-dialog-min-height: 100%;
|
||||||
--mdc-dialog-max-height: 100%;
|
--mdc-dialog-max-height: 100%;
|
||||||
--vertial-align-dialog: flex-end;
|
--vertical-align-dialog: flex-end;
|
||||||
--ha-dialog-border-radius: 0px;
|
--ha-dialog-border-radius: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user