From 88ecfed5c58ea149dbd2b708d5139a4d5f048b42 Mon Sep 17 00:00:00 2001 From: juanatsap Date: Mon, 4 May 2026 15:18:54 +0100 Subject: [PATCH] fix: icons toggle also hides all badges (LIVE, GitHub, stars, category) --- static/css/04-interactive/_toggles.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/static/css/04-interactive/_toggles.css b/static/css/04-interactive/_toggles.css index fc56227..689dd86 100644 --- a/static/css/04-interactive/_toggles.css +++ b/static/css/04-interactive/_toggles.css @@ -194,7 +194,7 @@ height: auto; } -/* Hide icons when toggle is OFF - with animation */ +/* Hide icons and badges when toggle is OFF - with animation */ .cv-paper:not(.show-icons) .company-logo, .cv-paper:not(.show-icons) .award-logo, .cv-paper:not(.show-icons) .section-icon, @@ -213,6 +213,17 @@ overflow: hidden; } +/* Hide all badges when icons toggle is OFF */ +.cv-paper:not(.show-icons) .live-badge, +.cv-paper:not(.show-icons) .github-stars-badge, +.cv-paper:not(.show-icons) .github-badge, +.cv-paper:not(.show-icons) .category-badge, +.cv-paper:not(.show-icons) .maintained-badge, +.cv-paper:not(.show-icons) .current-badge, +.cv-paper:not(.show-icons) .expired-badge { + display: none; +} + /* Show icons when toggle is ON (default) - with animation */ .show-icons .company-logo, .show-icons .award-logo,