From 0e58dd18daaf124bf921997a6a01679851bdbaf1 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 25 Oct 2024 16:32:27 +0200 Subject: [PATCH] Set "add card" button width to 1 --- src/panels/lovelace/sections/hui-grid-section.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels/lovelace/sections/hui-grid-section.ts b/src/panels/lovelace/sections/hui-grid-section.ts index 4c477891a654..2edc91094120 100644 --- a/src/panels/lovelace/sections/hui-grid-section.ts +++ b/src/panels/lovelace/sections/hui-grid-section.ts @@ -233,8 +233,8 @@ export class GridSection extends LitElement implements LovelaceSectionElement { .add { position: relative; outline: none; - grid-row: span var(--row-size, 1); - grid-column: span var(--column-size, 2); + grid-row: span 1; + grid-column: span 1; background: none; cursor: pointer; border-radius: var(--ha-card-border-radius, 12px);