Skip to content

Commit

Permalink
fix cropped sidebar footer on desktop, when nextra's <Banner> is us…
Browse files Browse the repository at this point in the history
…ed (#4056)
  • Loading branch information
dimaMachina authored Jan 25, 2025
1 parent 7caf059 commit fa7f1ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-bikes-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nextra-theme-docs": patch
---

fix cropped sidebar footer on desktop, when Nextra's `<Banner>` is used
1 change: 1 addition & 0 deletions packages/nextra-theme-docs/src/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ export const Sidebar: FC<{ toc: Heading[] }> = ({ toc }) => {
{hasMenu && (
<div
className={cn(
'x:sticky x:bottom-0 x:bg-nextra-bg',
classes.footer,
!isExpanded && 'x:flex-wrap x:justify-center',
showToggleAnimation && [
Expand Down

0 comments on commit fa7f1ee

Please sign in to comment.