Update add-automation-element-dialog.ts

This commit is contained in:
Bram Kragten 2024-01-02 18:47:39 +01:00
parent 7d6dfaad15
commit f994b378f1

View File

@ -528,7 +528,7 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
rootTabbable rootTabbable
style=${styleMap({ style=${styleMap({
width: this._width ? `${this._width}px` : "auto", width: this._width ? `${this._width}px` : "auto",
height: this._height ? `${Math.min(468, this._height)}px` : "auto", height: this._height ? `${Math.min(670, this._height)}px` : "auto",
})} })}
> >
${this._params.clipboardItem && ${this._params.clipboardItem &&
@ -651,7 +651,7 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
width: 24px; width: 24px;
} }
mwc-list { mwc-list {
max-height: 468px; max-height: 670px;
max-width: 100vw; max-width: 100vw;
} }
search-input { search-input {