SVG height incorrectly calculated in Webkit browsers

后端 未结 9 554
轻奢々
轻奢々 2020-12-24 12:26

I have a issue specific to Webkit browsers (Safari & Chrome, on Mac & PC).

I\'m using Raphael JS to render SVG data and using a responsive layout to scale th

9条回答
  •  离开以前
    2020-12-24 12:52

    svg { max-height: 100%; }
    

    WebKit bug documented here: https://bugs.webkit.org/show_bug.cgi?id=82489

    I also added the workaround to the bug tracker.

提交回复
热议问题