mderrick / react-html5video

A customizeable HTML5 Video React component with i18n and a11y.
http://mderrick.github.io/react-html5video/
MIT License
459 stars 123 forks source link

Volume, Fullscreen and svg icons alike incorrect size. #82

Closed Bram-Zijp closed 7 years ago

Bram-Zijp commented 7 years ago

The demo's work fine but in my own build they need the following code to get the correct size. Chrome 56.0.2924.87 (64-bit)

        svg {
            width: 100%;
            height: 100%;
        }
mderrick commented 7 years ago

I cannot seem to replicate this issued. I am using the exact same browser version on Mac.

mderrick commented 7 years ago

Are you applying some global styles to to SVG's that is causing this?

Bram-Zijp commented 7 years ago

The reason is that I have box-sizing: border-box; as global style on everything. I'm sorry for the inconvenience.