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: Make mobile offsets configurable #396

Open
Achder opened this issue Apr 5, 2024 · 0 comments
Open

Feat: Make mobile offsets configurable #396

Achder opened this issue Apr 5, 2024 · 0 comments

Comments

@Achder
Copy link

Achder commented Apr 5, 2024

I'm currently implementing a mobile app and sonner is a great fit as it supports swiping and all.
There is just one thing that I needed to hack around:

The mobile offsets to the sides are currently hardcoded to 16px for all screens smaller than 600px. See here:

--mobile-offset: 16px;

It would be great to make these configurable, especially since all the desktop stuff already supports this.

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