Skip to content

adapt iframe min-width for popup large #1238

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

Merged
merged 2 commits into from
Aug 15, 2023
Merged

Conversation

yohanboniface
Copy link
Member

fix #1236

Before:

image

After:

image

/* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */
max-width: 500px !important;
max-width: 100% !important;
min-width: 500px;
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess it will break on small devices, did you try?

Copy link
Member Author

Choose a reason for hiding this comment

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

"Fixed"!
Sadly, I think popup sizing still needs a refacto, specifically for small screens but not only, mainly because it's partly done in JS and partly in CSS, and mainly because of this

@yohanboniface yohanboniface merged commit b083bae into master Aug 15, 2023
@yohanboniface yohanboniface deleted the iframe-popup-large branch August 15, 2023 14:39
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.

'Popup' and 'Popup (large)' the same width now?
2 participants