Opened 15 months ago
Closed 6 months ago
#58456 closed defect (bug) (wontfix)
Twenty Twenty-Three: Font Size issue in Pullquote Block
Reported by: | kajalgohel | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.2.2 |
Component: | Bundled Theme | Keywords: | needs-patch close 2nd-opinion |
Focuses: | ui, css | Cc: |
Description
In the Twenty Twenty-Three Theme, when a Pullquote block is added on the editor side and the font size of the block is modified, it results in extra spaces being displayed around the "Add quote" and "Add citation" texts.
Steps to replicate:
1: Activate the Twenty Twenty-Three Theme
2: Add Pullquote block
3: Enter some Text for "Add quote"
4: Enter some Text for "Add citation"
5: Change Font Size
6: Save Page/Post
7: View the page/post at the editor side and front side
For better understanding, I provide a video attachment link.
Video URL : https://share.cleanshot.com/cqPhXx6P2stDDl330GQs
Thanks.
Change History (3)
#2
@
7 months ago
- Keywords close 2nd-opinion added
That the spacing increases with the font size is intentional.
From WordPress version 6.5, the pullquote block has margin and padding controls in the block settings panel. The user will be able to adjust both if they do not like the default spacing.
Themes need to enable the spacing controls using theme support add_theme_support( 'custom-spacing' );
or theme.json.
Twenty Twenty-Two and Twenty Twenty-Three already enables padding and margin.
Because of this, I suggest that the ticket should be closed as fixed as of 6.5.
#3
@
6 months ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
I agree with your recommendation @poena that this should be closed as fixed. Thank you everyone for collaboration on this. It is something we can now do as of WordPress 6.5 within theme.json.
This is not unique to Twenty Twenty-Three; the same happens in Twenty Twenty-Two.
The default styles for the Pullquote block include
padding: 3em 0
. Increasing the font size can make a lot of padding.The theme probably could create its own value, but I think this report belongs on the Gutenberg repository for any theme to have more reasonable padding with large font sizes.