Skip to content

Commit

Permalink
Merge pull request #49 from HiDeoo/hd-fix-hide-toc
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo committed May 23, 2024
2 parents 6956193 + 55fc63c commit a7feb0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/starlight-blog/components/Page.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import StarlightPage, { type StarlightPageProps as Props } from '@astrojs/starli
</StarlightPage>

<style>
:global(:is(.right-sidebar-panel, mobile-starlight-toc)) {
:global([data-has-toc] :is(.right-sidebar-panel, mobile-starlight-toc)) {
display: none;
}

:global(.main-frame) {
:global([data-has-toc] .main-frame) {
padding-top: var(--sl-nav-height);
}
</style>

0 comments on commit a7feb0f

Please sign in to comment.