Closed regg00 closed 3 days ago
Have you added your sidebar css variables to your app.css and tailwind config?
Well, you are awesome @ieedan.
I did added the CSS variables when I first installed the sidebar component, but it was overwritten when I created a new theme using this page https://next.shadcn-svelte.com/themes
I just copied over the app.css vars from the doc and it fixed the issue.
I'll open a feature request to add the sidebar vars into the theme generator.
Describe the bug
When opening the sidebar on a mobile device, the background is completely transparent.
The actual sidebar should look more like this:
Reproduction
Install a sidebar from the blocks section like so
pnpm dlx shadcn-svelte@next add sidebar-07
Load the page and open the sidebar on a mobile device or with the Chrome DevTools.Logs
No response
System Info
Severity
annoyance