From aba74f074a70007747c94658d757cdf5ca26bf85 Mon Sep 17 00:00:00 2001 From: Zack Arnett Date: Mon, 9 Mar 2020 08:55:14 -0400 Subject: [PATCH] Fix input number from overflowing (#5099) --- .../lovelace/entity-rows/hui-input-number-entity-row.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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; + } `; }