From 478e5dfe8a813906d0b2e325c9f8b46f528583a6 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Mon, 14 Oct 2024 18:04:34 +0200 Subject: [PATCH] Reduce size of new/updated badges in the sidebar --- docusaurus/src/scss/badge.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docusaurus/src/scss/badge.scss b/docusaurus/src/scss/badge.scss index f8f1533483..ed36863396 100644 --- a/docusaurus/src/scss/badge.scss +++ b/docusaurus/src/scss/badge.scss @@ -108,6 +108,20 @@ h2 .badge { --custom-badge-inside-titles-top: -.3em; } +.menu { + .badge { + &--new, + &--updated { + font-size: .65rem; + } + + &--updated { + padding-left: 6px; + padding-right: 6px; + } + } +} + /** Dark mode */ @include dark { .badge {