WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 5 weeks ago

#47044 new defect (bug)

Twenty Nineteen: Add padding for full-aligned text blocks inside of a full-width column block.

Reported by: kjellr Owned by:
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-screenshots has-patch needs-testing
Focuses: Cc:

Description

As noted by @dianeco, after #46999, text-based blocks inside of a full-width columns block now bump up against the edges of the screen:

https://cldup.com/KnBH49tlCQ-3000x3000.png

In the case of media/image blocks, it's likely that users will want these to bump right up against the edge of the page, so we should try adding some padding only to text-based blocks if possible.

Note that this needs to be fixed in both the editor and front-end.

Attachments (3)

47044.diff (3.0 KB) - added by ianbelanger 5 weeks ago.
Adds padding to all items in column block, except images
47044-before-patch.PNG (638.4 KB) - added by ianbelanger 5 weeks ago.
47044-after-patch.PNG (641.5 KB) - added by ianbelanger 5 weeks ago.

Download all attachments as: .zip

Change History (5)

#1 @kjellr
3 months ago

Noting that there's a somewhat related bug in the editor right now:

https://github.com/WordPress/gutenberg/issues/15192

When a column block is set to be fullscreen, The block toolbar for nested blocks is pushed off-screen on the left. Not sure if there is also some block padding that's being pushed off-screen.

@ianbelanger
5 weeks ago

Adds padding to all items in column block, except images

#2 @ianbelanger
5 weeks ago

  • Keywords has-patch needs-testing added
  • Milestone changed from Awaiting Review to 5.3
Note: See TracTickets for help on using tickets.