Skip to content

Commit

Permalink
fix: stick TOC position under AppHeader (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky committed Jan 27, 2023
1 parent df761a7 commit 3c89794
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/docs/DocsPageLayout.vue
Expand Up @@ -188,7 +188,7 @@ css({
},
'.toc': {
position: 'sticky',
top: 0,
top: '{docus.header.height}',
display: 'flex',
mx: 'calc(0px - {space.4})',
overflow: 'auto',
Expand All @@ -197,7 +197,6 @@ css({
mx: 'calc(0px - {space.6})',
},
'@lg': {
top: '{docus.header.height}',
mx: 0,
alignSelf: 'flex-start',
py: '{space.8}',
Expand Down

0 comments on commit 3c89794

Please sign in to comment.