Skip to content

Conversation

Kiojeen
Copy link

@Kiojeen Kiojeen commented Oct 9, 2025

  • When app sidebar variant inset <AppSidebar variant="inset" /> is used and sidebar is on the right <Sidebar side="right"> some margin that was only supposed to apply on sidebar side left applies and pushes the borders outside of the screen.
  • I changed md:peer-data-[variant=inset]:ml-0 to md:peer-data-[side=left]:peer-data-[variant=inset]:ml-0 md:peer-data-[side=right]:peer-data-[variant=inset]:mr-0 to fix this issue.
  • Tested on Next.js 15.5.4.
  • Current state:
image image
  • side=right after the fix:
image

Copy link

vercel bot commented Oct 9, 2025

@Kiojeen 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