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

feat(drawer): add dynamic width feature to drawer #820

Merged
merged 5 commits into from
Apr 3, 2024

Conversation

erdemgonul
Copy link
Contributor

This PR adds setting width feature into drawer.

Closes #767

This had to be written with JavaScript because it was previously written with @ media, and we couldn't use CSS variables inside @ media. Reference source: https://stackoverflow.com/a/40723269

Also added style-to-px-converter to give width properties like '%', 'vh'

@erdemgonul erdemgonul force-pushed the feat/767-drawer-width-dynamic branch from d39b87f to aef4f6e Compare April 1, 2024 12:23
@buseselvi
Copy link
Contributor

Can we add a drawer example to the storybook with the custom width feature? 🙏🏻

@erbilnas erbilnas merged commit aef2ae8 into next Apr 3, 2024
7 checks passed
@erbilnas erbilnas deleted the feat/767-drawer-width-dynamic branch April 3, 2024 13:53
Copy link

github-actions bot commented Apr 3, 2024

🎉 This PR is included in version 3.0.0-beta.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

github-actions bot commented May 2, 2024

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

[Feature Request]: extending drawer width
4 participants