mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Set fixed width for automation save dialog (#23618)
This commit is contained in:
parent
ec1dedcb6b
commit
d55d388046
@ -323,6 +323,14 @@ class DialogAutomationRename extends LitElement implements HassDialog {
|
|||||||
ha-dialog {
|
ha-dialog {
|
||||||
--dialog-content-padding: 0 24px 24px 24px;
|
--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-textfield,
|
||||||
ha-textarea,
|
ha-textarea,
|
||||||
ha-icon-picker,
|
ha-icon-picker,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user