Please remove width from inline style
-
Hi there, thank you for the great plugin. Please consider changing the method of setting the icon width from having it in the inline style to an external style block. You could for example set the width defined in the block settings as a CSS property and have a global style with
width: --icon-width
or something like that. The reason is that currently if someone wants to override the style via external CSS, they have to use!important
. All other plugins I’m using define their styles via style blocks in order to allow easy overriding.My current workaround is to do precisely as above: in my CSS instead of width I define a prop for the width and I set
.icon-container { width: var(--icon-width) !important; }
- You must be logged in to reply to this topic.