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

fix map width bug on window resize #468

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

shareoc
Copy link
Contributor

@shareoc shareoc commented Oct 11, 2024

Fixes a small issue where the static map doesn't correctly adapt to window width on resize

@@ -699,6 +699,10 @@
border: 0;
cursor: pointer;

img {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can't use element styling¹ as any <img> element (after this code-chunk) is loaded would be affected.

That's why element styling happens in one place: marketplaceDefaults.css.

¹ CSS Modules can't make element-styles unique. It only affects classes.

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

Successfully merging this pull request may close these issues.

2 participants