.wp-block-cover style is getting overridden by themes .alignleft utility styles. v4.3.0 #11883
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Bug
An existing feature does not function as intended
Describe the bug
When a cover block is set to one of the align states, it's styles go up against the themes age-old
.align*
styles.Most of them include a
display:
style and it usually isn'tflex
.This breaks the wp-block-cover-image-text
To Reproduce
Add an align state to a cover block with text.
Screenshots
Here's how it looks before
.aligncenter
is addedHere's with the
.aligncenter
classIn this case Twenty Seventeen is overriding the
display: flex;
with it's aligncenter'sdisplay: block;
The text was updated successfully, but these errors were encountered: