Skip to content

Fixed issue where sidebarinset expands beyond parent causing horizontal scroll#2774

Open
Allaoua9 wants to merge 1 commit intoChainlit:mainfrom
Allaoua9:bugfix/undesired-scrollbar-sidebarinset
Open

Fixed issue where sidebarinset expands beyond parent causing horizontal scroll#2774
Allaoua9 wants to merge 1 commit intoChainlit:mainfrom
Allaoua9:bugfix/undesired-scrollbar-sidebarinset

Conversation

@Allaoua9
Copy link
Contributor

@Allaoua9 Allaoua9 commented Feb 3, 2026

This is a know issue with the shadcn sidebar, more on this here : shadcn-ui/ui#5545

Capture d'écran 2026-02-03 161121

Summary by cubic

Prevents horizontal scrolling by keeping SidebarInset within its parent. Adds min-w-0 to SidebarInset so the flex layout can shrink it and avoid overflow.

Written for commit 2271cba. Summary will update on new commits.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Feb 3, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

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

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant