Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#58547 new defect (bug)

Twenty Seventeen: Calendar block header cells should be centered

Reported by: nkeller15's profile nkeller15 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 6.2.2
Component: Bundled Theme Keywords: has-patch 2nd-opinion
Focuses: css Cc:

Description

The th elements in the Calendar block are not centered like the rest of the text in the Calendar which looks odd.

Attachments (4)

SCR-20230615-mhev.png (161.5 KB) - added by nkeller15 6 months ago.
Screenshot
58547.patch (564 bytes) - added by nkeller15 6 months ago.
Added new code in the blocks.css file to fix this
2017-calendar-front-before.png (402.7 KB) - added by sabernhardt 6 months ago.
header cells are aligned left only when Calendar block is inside post content area
2017-calendar-front-with-patch.png (402.9 KB) - added by sabernhardt 6 months ago.
the patch corrects the alignment on the front

Download all attachments as: .zip

Change History (5)

@nkeller15
6 months ago

Screenshot

@nkeller15
6 months ago

Added new code in the blocks.css file to fix this

@sabernhardt
6 months ago

header cells are aligned left only when Calendar block is inside post content area

@sabernhardt
6 months ago

the patch corrects the alignment on the front

#1 @sabernhardt
6 months ago

  • Keywords 2nd-opinion added
  • Severity changed from normal to trivial
  • Summary changed from Twenty Seventeen - Calendar Widget <th> alignment should be centered to Twenty Seventeen: Calendar block header cells should be centered

The Calendar block is not as likely to be used inside the post content area as within one of the widget areas in a "classic" theme such as Twenty Seventeen. The header cells already are centered where the block is expected.

That said, the patch works on the front end. If the styles are changed in blocks.css, then editor-blocks.css probably should have the same.

Note: See TracTickets for help on using tickets.