number slider: change column width check from 350px to 300px (#8310)

This commit is contained in:
Sven Naumann 2021-09-06 11:01:28 +02:00 committed by GitHub
parent 2bd9b5a015
commit 1073dbe6ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ class HuiInputNumberEntityRow extends LitElement implements LovelaceRow {
return;
}
element.hidden = this.parentElement.clientWidth <= 350;
element.hidden = this.parentElement.clientWidth <= 300;
}
private get _inputElement(): { value: string } {