Make WordPress Core

#62740 closed enhancement (duplicate)

Twenty Twenty: No Padding in Pullquote Block with Background Color

Reported by: sukhendu2002 Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version:
Severity: minor Keywords: has-screenshots has-patch
Cc: Focuses: css

Description

In the Twenty Twenty theme, when using the Pullquote block, there is no padding applied to the block content. This results in the text appearing too close to the edges of the block.

Steps to Reproduce:

  • Activate the Twenty Twenty theme.
  • Create a new post or edit an existing one.
  • Add a Pullquote block and insert some text.
  • Apply a background color to the Pullquote block to make it more visible.

Attachments (1)

Screenshot 2024-12-26 at 6.13.29 PM.png​ (46.6 KB ) - added by sukhendu2002 22 months ago.

Download all attachments as: .zip

Change History (4)

This ticket was mentioned in ​PR #8046 on ​WordPress/wordpress-develop by ​@sukhendu2002.


22 months ago
#1

  • Keywords has-patch added

#2 @parthvataliya
22 months ago

Nice catch, @sukhendu2002!

I tested your PR and reviewed the CSS. We should use the WordPress CSS variable --wp--preset--spacing--30 for improved consistency.

#3 @sabernhardt
22 months ago

  • Focuses css added
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed
  • Summary No Padding in Pullquote Block in Twenty Twenty Theme → Twenty Twenty: No Padding in Pullquote Block with Background Color

#61321 already tracks the request for padding when a Pullquote has either a background or a border (and it might change Twenty Twenty's default). Please follow that ticket.

Note: See TracTickets for help on using tickets.