Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
ooksanen opened this issue May 9, 2023 · 0 comments
Open
1 task done
Labels
help wanted Extra attention is needed type:bug Something isn't working.

Comments

@ooksanen
Copy link

ooksanen commented May 9, 2023

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
@ooksanen ooksanen added the type:bug Something isn't working. label May 9, 2023
@ooksanen ooksanen changed the title Inline style "text-align: left;" always applied to block even none is selected Inline style "text-align: left;" always applied to block even when none is selected May 9, 2023
@jeffpaul jeffpaul added this to the 2.2.0 milestone Jun 29, 2023
@dkotter dkotter modified the milestones: 2.2.0, 2.3.0 Jul 3, 2023
@jeffpaul jeffpaul added the help wanted Extra attention is needed label Jan 16, 2024
@jeffpaul jeffpaul modified the milestones: 2.3.0, Future Release Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type:bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

3 participants