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

How make width responsive? #50

Open
sohrabzia opened this issue Sep 17, 2024 · 0 comments
Open

How make width responsive? #50

sohrabzia opened this issue Sep 17, 2024 · 0 comments

Comments

@sohrabzia
Copy link

sohrabzia commented Sep 17, 2024

is there a way to make width responsive?
i am trying with tailwindcss
className="p-6 bg-gray-500 dark:bg-slate-700 w-full sm:w-1/2 md:w-[600px]"
but it isnt taking the width instead there is inline width from styles attribute.

Currently I am doing a workaround with css media query
@media(max-width:768px){ .EZDrawer__container { max-width: 100%; } }

@sohrabzia sohrabzia changed the title How make make width responsive? How make width responsive? Sep 17, 2024
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

No branches or pull requests

1 participant