#61507 closed defect (bug) (fixed)
Twenty Nineteen: Fix font size and citation display for Pullquote block
Reported by: | pitamdey | Owned by: | karmatosed |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-screenshots has-patch commit |
Focuses: | css | Cc: |
Description
In Theme Twenty Nineteen, Pullquote Block Text Decoration is not reflecting in frontend for citation but working fine in editor side
I have attached a screenshot for reference
Attachments (5)
Change History (13)
This ticket was mentioned in PR #6913 on WordPress/wordpress-develop by @narenin.
5 months ago
#2
- Keywords has-patch added
Trac ticket: https://core.trac.wordpress.org/ticket/61507
@
5 months ago
I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.
This ticket was mentioned in PR #6945 on WordPress/wordpress-develop by @sabernhardt.
5 months ago
#3
- Restores the default Pullquote paragraph font size to 49.5 (2.25em * 22px), which has been multiplied by 1.5 since WordPress 6.1.
- Sets the
cite
element todisplay: block
for consistent spacing andtext-decoration
.
@sabernhardt commented on PR #6945:
5 months ago
#4
Before patch: front end has extra-large font size, and the Pullquote does not honor the underline setting on the citation.
With patch: front end would reset the block's font size so the paragraph is 2.25em again, and the citation includes the underline according to the block option.
Editor with patch (which is the same as before):
Spacing comparison for citations of different lengths:
- Before patch, a one-line citation has more space above it than a citation that wraps to a second line.
- With the patch, both one-line and two-line citations have the same amount of space between them and the Pullquote paragraph.
Full images with each text decoration option:
- Front end before patch
- Front end with patch
- The editor displays these blocks the same way both before and after
#5
@
5 months ago
- Focuses css added
- Keywords needs-testing added
- Milestone changed from Awaiting Review to Future Release
- Summary changed from Twenty Nineteen : Pullquote Block Text Decoration is not reflecting in frontend for citation to Twenty Nineteen: Fix font size and citation display for Pullquote block
The font size is not directly related to the display
property, but I wanted both to be fixed together.
PR 6945 includes the Sass and the two compiled stylesheets.
Editor View