diff --git a/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts b/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts index 3c07074b67..58334a3a87 100644 --- a/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-input-number-entity-row.ts @@ -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; + } `; }