Skip to content

Commit

Permalink
chore: fix styles (#9583)
Browse files Browse the repository at this point in the history
docs: fix styles
  • Loading branch information
nnaydenow committed Jul 30, 2024
1 parent 7e0b33d commit 6b7e61a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions packages/website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -245,20 +245,16 @@ code {
pointer-events: none;
}

.theme-doc-sidebar-item-category {
&.expComponentBadge:before {
.theme-doc-sidebar-item-category.newComponentBadge:after,
.theme-doc-sidebar-item-category.expComponentBadge:before {
inset-inline-end: 2.25rem;
}

&.newComponentBadge:after {
inset-inline-end: 2.25rem;
}
}

&.newComponentBadge.expComponentBadge:before {
.theme-doc-sidebar-item-category.newComponentBadge.expComponentBadge:before {
inset-inline-end: 4.5rem;
}
}


.componentAdditionalInfo {
margin-top: calc(-1 * calc(var(--ifm-h1-vertical-rhythm-bottom) * var(--ifm-leading))) !important;
margin-bottom: var(--ifm-leading);
Expand Down

0 comments on commit 6b7e61a

Please sign in to comment.