Skip to content

Commit

Permalink
Fix invalid media queries in calendar and todo editors (#19295)
Browse files Browse the repository at this point in the history
  • Loading branch information
steverep authored Jan 8, 2024
1 parent 2451cf7 commit d4ec608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/panels/calendar/dialog-calendar-event-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/panels/todo/dialog-todo-item-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d4ec608

Please sign in to comment.