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

Remove gap between leaflet-popup-tip-container and leaflet-popup-content-wrapper #7920

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

Malvoz
Copy link
Member

@Malvoz Malvoz commented Jan 18, 2022

  • Removes the gap between the leaflet-popup-tip-container and leaflet-popup-content-wrapper

on your screenshots, there's a 1pm gap between the popup and its tip — I wonder if that's a bug we should fix too? Is it easily reproducible?

Originally posted by @mourner in #7908 (comment)

The gap can be seen in the screenshot below. I was able to reproduce the gap consistently in Chrome 97.0.4692.71. In Firefox 95.0.2 it wasn't always visible, and sometimes only visible during zoom.

Preview

Comment on lines -544 to -546
.leaflet-oldie .leaflet-popup-tip-container {
margin-top: -1px;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

These lines are now redundant, since the same styling is applied to leaflet-popup-tip-container in general.

@Falke-Design
Copy link
Member

Should we now move the popup anchor 1px down?

Copy link
Member

@mourner mourner left a comment

Choose a reason for hiding this comment

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

👍 if there's a need to adjust the anchor, we could follow up with another PR.

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

Successfully merging this pull request may close these issues.

3 participants