Skip to content

Tailwind breaks VideoOverlay in Leaflet #17914

@michielproce

Description

@michielproce

What version of Tailwind CSS are you using?
cdn.tailwindcss.com

What build tool (or framework if it abstracts the build tool) are you using?
cdn.tailwindcss.com

What version of Node.js are you using?
N/A

What browser are you using?
Chrome/Firefox

What operating system are you using?
Windows

Reproduction URL

https://jsfiddle.net/w2m3ndqj/2/
(based on https://leafletjs.com/examples/overlays/example-nocontrols.html, remove <script src="https://cdn.tailwindcss.com"></script> to see the expected result)

Describe your issue

When implementing Leaflet's VideoOverlay (https://leafletjs.com/examples/overlays/), the inclusion of Tailwind breaks the overlay. The width of the video element is permanently set to 0.
I'd expect Tailwind not to break Leaflet's functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions