Set more-info dialog max-width to fit all languages (#14110)

This commit is contained in:
Alex van den Hoogen 2022-10-17 18:15:01 +02:00 committed by GitHub
parent 23f8373b16
commit 6c4c65730c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,7 +301,7 @@ export class MoreInfoDialog extends LitElement {
@media all and (min-width: 600px) and (min-height: 501px) {
ha-dialog {
--mdc-dialog-min-width: 560px;
--mdc-dialog-max-width: 560px;
--mdc-dialog-max-width: 580px;
--dialog-surface-margin-top: 40px;
--mdc-dialog-max-height: calc(100% - 72px);
}