Mastercard / flow

Testing framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embed icons

therealryan opened this issue · comments

We use material icons all over the place in the report application. This mostly works fine, but some environments (e.g.: reports served by jenkins) can impose a more restrictive Content Security Policy that blocks the icon font from being loaded. In such instances you don't get the nice icon, you get a big splatter of text - the icon name. This is bad.

We should inline the icons we're using as SVGs so we don't need an external font. We've already got one example of inline SVG icon, but I doubt we'd want to just duplicate that - the SVG files should probably be consolidated as files in a resource directory or something.