Remove min width from alert dialog (#22069)

This commit is contained in:
Bram Kragten 2024-09-24 18:16:07 +02:00 committed by GitHub
parent 76e53e9738
commit 1bbf45d35e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

View File

@ -160,7 +160,6 @@ export class HaMdDialog extends MdDialog {
}
:host([type="alert"]) {
max-width: 320px;
min-width: 320px;
}

View File

@ -179,11 +179,6 @@ class DialogBox extends LitElement {
.destructive {
--mdc-theme-primary: var(--error-color);
}
@media all and (min-width: 600px) {
ha-dialog {
--mdc-dialog-min-width: 400px;
}
}
ha-textfield {
width: 100%;
}