Skip to content

Commit

Permalink
Reduce size of new/updated badges in the sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Oct 14, 2024
1 parent 1137141 commit 478e5df
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docusaurus/src/scss/badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 478e5df

Please sign in to comment.