From 8ccc38eb005b457a895bc0f7862f87b23c69a64e Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Mon, 4 Mar 2024 15:04:45 +0100 Subject: [PATCH] Fix masonry badges not centered (#19972) --- src/panels/lovelace/views/hui-masonry-view.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/panels/lovelace/views/hui-masonry-view.ts b/src/panels/lovelace/views/hui-masonry-view.ts index c8e3047c2d53..bcc87214e3c6 100644 --- a/src/panels/lovelace/views/hui-masonry-view.ts +++ b/src/panels/lovelace/views/hui-masonry-view.ts @@ -291,6 +291,12 @@ export class MasonryView extends LitElement implements LovelaceViewElement { padding-top: 4px; } + .badges { + margin: 8px 16px; + font-size: 85%; + text-align: center; + } + #columns { display: flex; flex-direction: row;