mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 13:07:49 +00:00
Fix input number from overflowing (#5099)
This commit is contained in:
parent
75860508de
commit
aba74f074a
@ -118,6 +118,8 @@ class HuiInputNumberEntityRow extends LitElement implements LovelaceRow {
|
|||||||
.flex {
|
.flex {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
.state {
|
.state {
|
||||||
min-width: 45px;
|
min-width: 45px;
|
||||||
@ -126,6 +128,10 @@ class HuiInputNumberEntityRow extends LitElement implements LovelaceRow {
|
|||||||
paper-input {
|
paper-input {
|
||||||
text-align: end;
|
text-align: end;
|
||||||
}
|
}
|
||||||
|
ha-slider {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user