Skip to content

Commit

Permalink
Set fixed width for automation save dialog (#23618)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbede authored Jan 7, 2025
1 parent 7133dc5 commit e137e69
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,14 @@ class DialogAutomationRename extends LitElement implements HassDialog {
ha-dialog {
--dialog-content-padding: 0 24px 24px 24px;
}
@media all and (min-width: 500px) {
ha-dialog {
--mdc-dialog-min-width: min(500px, 95vw);
--mdc-dialog-max-width: min(500px, 95vw);
}
}
ha-textfield,
ha-textarea,
ha-icon-picker,
Expand Down

0 comments on commit e137e69

Please sign in to comment.