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

Keep CSS rules static #154

Open
flo-dup opened this issue Jan 21, 2025 · 0 comments
Open

Keep CSS rules static #154

flo-dup opened this issue Jan 21, 2025 · 0 comments

Comments

@flo-dup
Copy link
Contributor

flo-dup commented Jan 21, 2025

Describe the current behavior

Currently, following #78, CSS is modified dynamically, when user is zooming in / out for performance reasons. This showed great performance improvement but it appears to be problematic:

Describe the expected behavior

The CSS remains static, when user is zooming in / out, a zoom level class is added depending on thresholds given by the user as input. The class could be named based on the min/max threshold (e.g. zoom-level-300-500), or on the interval index (e.g. zoom-level-2).

Describe the motivation

Maintainability, fixing the #149 issue

Extra Information

No response

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