From 2855770ef8bf619f548eb8ac412e7816e60182f2 Mon Sep 17 00:00:00 2001 From: jkmf Date: Mon, 12 Aug 2024 20:34:16 +0200 Subject: [PATCH] Broken card fix --- badge-card.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/badge-card.js b/badge-card.js index e56f346..b5d3d7b 100644 --- a/badge-card.js +++ b/badge-card.js @@ -2,5 +2,9 @@ const t=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad #badges { font-size: 85%; text-align: center; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; } `}}customElements.get("badge-card")||(customElements.define("badge-card",nt),console.info(`%cBADGE-CARD ${it} IS INSTALLED`,"color: green; font-weight: bold",""));