Skip to content

Commit

Permalink
side bar bottom theme selector border changes, upgrade theme docs
Browse files Browse the repository at this point in the history
  • Loading branch information
szabinakov committed Feb 9, 2024
1 parent 2750c2c commit ad1e3fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@charisma-ai/nextra-theme-docs",
"version": "2.13.7",
"version": "2.13.8",
"description": "A Nextra theme for documentation sites.",
"repository": "https://github.com/charisma-ai/charisma-nextra",
"author": "Shu Ding <g@shud.in>",
Expand Down
4 changes: 2 additions & 2 deletions packages/nextra-theme-docs/src/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,9 @@ export function Sidebar({
className={cn(
'nx-sticky nx-bottom-0',
'nx-bg-white dark:nx-bg-dark', // when banner is showed, sidebar links can be behind menu, set bg color as body bg color
'nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]',
'nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_rgb(249_249_249)]',
'nx-flex nx-items-center nx-gap-2',
'dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]',
'dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_rgb(32_38_44)]',
'contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none',
showSidebar
? cn(hasI18n && 'nx-justify-end', 'nx-border-t')
Expand Down

0 comments on commit ad1e3fe

Please sign in to comment.