Skip to content

Commit

Permalink
fix: layout
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-ub committed Aug 1, 2024
1 parent 7ff4014 commit bc53f2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/www/src/components/starlight/PageSidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import TableOfContents from "@astrojs/starlight/components/TableOfContents.astro
<div class="lg:hidden">
<MobileTableOfContents {...Astro.props} />
</div>
<div class="hidden lg:block right-sidebar-panel">
<div class="hidden lg:block right-sidebar-panel mt-2">
<TableOfContents {...Astro.props} />
</div>
</>
Expand All @@ -30,7 +30,7 @@ import TableOfContents from "@astrojs/starlight/components/TableOfContents.astro
@apply mt-0 pt-2;
}
.right-sidebar-panel :global(ul > li > a) {
@apply inline-block no-underline transition-colors hover:text-foreground text-muted-foreground;
@apply inline-block no-underline transition-colors hover:text-foreground text-muted-foreground p-0;
}
.right-sidebar-panel :global(ul > li > a[aria-current="true"]) {
@apply text-primary;
Expand Down

0 comments on commit bc53f2e

Please sign in to comment.