Files
notifications-admin/app
Chris Hill-Scott 594eb37836 Make SVG alert icon show in Internet Explorer 10
IE 10 supports using SVG[1] but has some buggy behaviour when they’re
used as background images.

Without an explicit width/height it stretches the viewBox of the SVG to
fill the containing element. This causes the content of the file to
display centered within the viewBox.

Explicitly setting the width and height seems to be the thing that fixes
this. Out of the suggested fixes on Stackoverflow[2] this one seems to
be the most straightforward.

1. https://caniuse.com/#feat=svg
2. https://stackoverflow.com/questions/17944354/svg-background-image-position-is-always-centered-in-internet-explorer-despite-b
2020-08-18 09:59:07 +01:00
..
2020-08-11 14:26:12 +01:00
2020-08-14 11:29:38 +01:00