Fix invalid media queries in calendar and todo editors (#19295)

This commit is contained in:
Steve Repsher 2024-01-08 09:45:24 -05:00 committed by GitHub
parent 2451cf77f9
commit d4ec608123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -581,7 +581,7 @@ class DialogCalendarEventEditor extends LitElement {
return [
haStyleDialog,
css`
@media all and (min-width: 450px and min-height: 500px) {
@media all and (min-width: 450px) and (min-height: 500px) {
ha-dialog {
--mdc-dialog-min-width: min(600px, 95vw);
--mdc-dialog-max-width: min(600px, 95vw);

View File

@ -385,7 +385,7 @@ class DialogTodoItemEditor extends LitElement {
return [
haStyleDialog,
css`
@media all and (min-width: 450px and min-height: 500px) {
@media all and (min-width: 450px) and (min-height: 500px) {
ha-dialog {
--mdc-dialog-min-width: min(600px, 95vw);
--mdc-dialog-max-width: min(600px, 95vw);