Fix input number from overflowing (#5099)

This commit is contained in:
Zack Arnett 2020-03-09 08:55:14 -04:00 committed by GitHub
parent 75860508de
commit aba74f074a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,6 +118,8 @@ class HuiInputNumberEntityRow extends LitElement implements LovelaceRow {
.flex {
display: flex;
align-items: center;
justify-content: flex-end;
width: 100%;
}
.state {
min-width: 45px;
@ -126,6 +128,10 @@ class HuiInputNumberEntityRow extends LitElement implements LovelaceRow {
paper-input {
text-align: end;
}
ha-slider {
width: 100%;
max-width: 200px;
}
`;
}