Skip to content

Tailwind breaks VideoOverlay in Leaflet #17917

Discussion options

You must be logged in to vote

Hey! Seems like for some reason the resets from tailwind 3 cdn interferes with the video here, you can fix it by adding this to your CSS file:

.leaflet-container video {
  max-width: initial;
}

I guess what happens is that the max-width: 100% uses a parent for reference that does not have a width.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michielproce
Comment options

Answer selected by michielproce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #17914 on May 07, 2025 15:49.