Skip to content

Conversation

@whhuang
Copy link

@whhuang whhuang commented Apr 4, 2025

Using the default Sidebar component as described in this guide, i.e. npx shadcn@latest add sidebar.

When setting the Sidebar side to "right" on a desktop app, the window gap is still on the left side, resulting in bad UI behavior. This PR fixes that by putting the gap on the right side.

Before:
https://github.com/user-attachments/assets/6881ed5b-966b-4589-bd0f-718c1069e879

After:
https://github.com/user-attachments/assets/a8c994fe-c122-4126-96ad-c0792bd4973b

@vercel
Copy link
Contributor

vercel bot commented Apr 4, 2025

@whhuang is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant