fuma-nama / fumadocs

The beautiful docs framework with Next.js. Alternative to Nextra
https://fumadocs.vercel.app
MIT License
1.89k stars 115 forks source link

Sidebar footer shows when using `disableThemeSwitch` and the sidebar is not `collapsible` #1048

Closed mlenser closed 1 week ago

mlenser commented 1 week ago

Firstly, thanks for making fumadocs. It seems great so far.

To Reproduce

Use disableThemeSwitch and turn off collapsible for the sidebar

<DocsLayout
  disableThemeSwitch={true}
  sidebar={{
    collapsible: false,
  }}
>

Current vs. Expected behavior

I expect this footer area of the sidebar to not exist/not be shown.

Instead it shows as an empty area with a border top: image

Provide environment information

"fumadocs-core": "^14.3.1",
"fumadocs-mdx": "^11.1.1",
"fumadocs-ui": "^14.3.1",

Which area(s) are affected? (Select all that apply)

UI

Additional context

No response