react-svg-inline
Version:
A React component to inline your SVGs.
24 lines (18 loc) • 451 B
CSS
.SVGInline {
transform: translate3d(0, 0, 0); /* fix webkit/blink poor rendering issues */
/* it's better defined directly because of the cascade shit
width: inherit;
height: inherit;
line-height: inherit;
*/
vertical-align: middle;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.SVGInline-svg {
width: inherit;
height: inherit;
line-height: inherit;
color: inherit;
fill: currentColor;
}