Update add-automation-element-dialog.ts

This commit is contained in:
Bram Kragten 2024-01-02 18:47:39 +01:00
parent 01bd88ce10
commit 8d496e1511

View File

@ -528,7 +528,7 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
rootTabbable
style=${styleMap({
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 &&
@ -651,7 +651,7 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
width: 24px;
}
mwc-list {
max-height: 468px;
max-height: 670px;
max-width: 100vw;
}
search-input {