WordPressSVGPlugin icon indicating copy to clipboard operation
WordPressSVGPlugin copied to clipboard

Themes need support to style CSS in an SVG inclusive way

Open Lewiscowles1986 opened this issue 9 years ago • 2 comments

Basically unless your theme supports styling for SVG's, the editor and final output might not be great. This is here just in-case we get issues like 1px x 1px SVG's or SVG's with height and width not constrained. It's not the job of this plugin to fix your theme, just enable the use of SVG's on the platform. More work is needed, and we'll happily accept PR's for docs on how you did this for theme-X

Lewiscowles1986 avatar Sep 21 '16 11:09 Lewiscowles1986

I Think this might be solved / avoided by no longer having CSS rules in the plugin since 2.x.

Lewiscowles1986 avatar Oct 22 '20 20:10 Lewiscowles1986

https://github.com/Lewiscowles1986/WordPressSVGPlugin/blob/main/src/index.php#L149 looks like it still remains...

Lewiscowles1986 avatar Oct 22 '20 20:10 Lewiscowles1986