Make dialogs full width on mobile, and modal (#4642)

* Make dialogs full width on mobile, and modal

* Fix dialog to bottom screen mobile
This commit is contained in:
Bram Kragten
2020-01-29 17:59:37 +01:00
committed by GitHub
parent adec2fc2df
commit 7021fd5809
3 changed files with 56 additions and 8 deletions

View File

@@ -16,6 +16,9 @@ export class HaDialog extends MwcDialog {
.mdc-dialog__actions {
justify-content: var(--justify-action-buttons, flex-end);
}
.mdc-dialog__container {
align-items: var(--vertial-align-dialog, center);
}
`,
];
}