Skip to content

Commit

Permalink
Smaller node label in docs sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Apr 10, 2023
1 parent 9245c7b commit 3369f7d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,15 @@

.node-only::after {
position: absolute;
right: 0.2rem;
top: 3px;
right: 0.35rem;
top: 5px;
content: "Node.js";
background: #026e00;
color: #fff;
border-radius: 0.25rem;
padding: 0 0.5rem;
pointer-events: none;
font-size: 0.85rem;
}

.node-only-category {
Expand All @@ -90,12 +91,13 @@

.node-only-category::after {
position: absolute;
right: 2.9rem;
top: 3px;
right: 3rem;
top: 5px;
content: "Node.js";
background: #026e00;
color: #fff;
border-radius: 0.25rem;
padding: 0 0.5rem;
pointer-events: none;
font-size: 0.85rem;
}

0 comments on commit 3369f7d

Please sign in to comment.