Latest Comments block: Can't center align #14358
Labels
[Block] Latest Comments
Affects the Latest Comments Block
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Type] Bug
An existing feature does not function as intended
Describe the bug
Centering this block in the editor shows correctly in the preview, but on the front-end it is still left-aligned.
Right-aligning the block in the editor does not right-align it in either the editor preview or the front-end.
This block seems to get the class
aligncenter
added to it regardless of the editor settings.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Alignment options should work and the front-end view should match the editor preview.
Screenshots
Centered in editor:
Front-end display:
Right-aligned in editor:
CSS in inspector:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: