From bf1dc21c7502e2cff63c634677351233c02d8e58 Mon Sep 17 00:00:00 2001 From: Xaviju Date: Thu, 4 Dec 2025 14:11:57 +0100 Subject: [PATCH] :lipstick: Hide themes & sets panels when none active (#7902) --- frontend/src/app/main/ui/inspect/styles.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/inspect/styles.cljs b/frontend/src/app/main/ui/inspect/styles.cljs index fc9b9fa17d..4c46bf393a 100644 --- a/frontend/src/app/main/ui/inspect/styles.cljs +++ b/frontend/src/app/main/ui/inspect/styles.cljs @@ -133,7 +133,7 @@ (swap! shorthands* assoc (:panel shorthand) (:property shorthand))))] [:ol {:class (stl/css :styles-tab) :aria-label (tr "labels.styles")} ;; TOKENS PANEL - (when (or active-themes active-sets) + (when (or (seq active-themes) (seq active-sets)) [:li [:> style-box* {:panel :token} [:> tokens-panel* {:theme-paths active-themes :set-names active-sets}]]])