Block Patterns: Coverblock is missing a CSS class #20825
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
When adding the gradient coverblock via the Block Patterns in 7.7.0
the
has-background-gradient
CSS class is missing from the wrapping div on the front.The class is added correctly in the editor.
This means that the block does not look the same on the front and in the editor and that the default
opacity: 0.5;
of the dim is much more difficult to remove.To reproduce
Steps to reproduce the behavior:
-If I manually add a new cover block with the same gradient, or if I change the gradient of the existing block, then the class is added on the front.
Expected behavior
I expect the class to be added, so that block on the front looks identical to the block in the editor.
Desktop (please complete the following information):
Additional context
Version 7.7.0
WordPress Version 5.3.2
The text was updated successfully, but these errors were encountered: