Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot increase width of Sheet for example: w-1/2 -> 50% of screen. #3720

Open
2 tasks done
hamidradical opened this issue May 11, 2024 · 2 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@hamidradical
Copy link

Describe the bug

I searched on code of sheet component. not found anything regarding hardcoded width.
if we try to give width more w-96 not apply in SheetContent. I applied like w-1/2, w-[75%] not working.

i need more width of sheet component.

Affected component/components

Sheet, SheetConent

How to reproduce

In SheetComponent give width w-1/2 and check ui. you will find the problem.

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Chrome And Edge

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@hamidradical hamidradical added the bug Something isn't working label May 11, 2024
@itsajaygaur
Copy link

@hamidradical you can use min-width

@Sami64
Copy link

Sami64 commented May 15, 2024

What @itsajaygaur said works. setting the min-width class ensures that the width of the sheet changes. So I guess the documentation will have to be updated to suit that or you'd want a change that ensures it uses w instead of min-w @shadcn ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants