Opened 10 months ago
Closed 6 weeks ago
#60776 closed defect (bug) (reported-upstream)
Pullquote block having minor difference in spacing between editor and front side
Reported by: | nidhidhandhukiya | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.4.3 |
Component: | Editor | Keywords: | move-to-github close |
Focuses: | Cc: |
Description
Steps to reproduce the issue :-
- Activate Twenty Twenty Four theme.
- Choose Pullquote block.
- Add text and background to check the proper difference in both side.
Now check both the side editor and front.
You can able to see spacing difference in editor and frontend.
I have attached video for better understanding.
Video URL :- https://share.cleanshot.com/D39PTHnJ6TrspTC8XYMw
Attachments (3)
Change History (5)
#1
@
10 months ago
- Component changed from Bundled Theme to Editor
- Keywords move-to-github close added
- Summary changed from Twenty Twenty Four :- Pullquote block having minor difference in design in editor and frontside to Pullquote block having minor difference in spacing between editor and front side
PR 45731 edited the margins, so I thought this was fixed for WordPress 6.5. However, the discrepancy is apparently due to display: block
on the cite
element within the editor without adding the same on the front end. Likewise, Twenty Twenty-Two and Twenty Twenty-Three have a taller Pullquote block on the front end, though with a less noticeable height difference (about 8 pixels instead of 30, at a viewport width of about 988).
PR 39414 added the inline style for the Pullquote block citation, mentioning a plan to move that to the block's style.scss
. If adding it in the block styles, it may be better with :where()
to keep the specificity low.
#2
@
6 weeks ago
- Milestone Awaiting Review deleted
- Resolution set to reported-upstream
- Status changed from new to closed
display:block
was added to the cite in https://github.com/WordPress/gutenberg/pull/66707
So I am closing this ticket. Thank you for reporting and testing this problem.
Pullquote block in editor, with WordPress 6.5-RC2