10up/safe-svg

Inline style "text-align: left;" always applied to block even when none is selected

ooksanen opened this issue · 0 comments

Describe the bug

Inline style "text-align: left;" gets applied to .safe-svg-cover even if no text-alignment is selected which causes problems when trying to apply inherited style from parent element / block.

Steps to Reproduce

  1. Insert Safe SVG Icon block
  2. Make sure no text-alignment is selected
  3. Element .safe-svg-cover has inline style for text alignment (left) applied

Screenshots, screen recording, code snippet

image

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct