From c8ae20d663a978732085deab67658f71d7e79a14 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sun, 23 Jun 2024 10:36:13 +0000 Subject: [PATCH] Twenty Seventeen: Resolves calendar block header cells not centering. The calendar header block cells were not centered. This resolves that both in front and back. Props nkeller15, sabernhardt, shailu25. Fixes #58547. Built from https://develop.svn.wordpress.org/trunk@58461 git-svn-id: http://core.svn.wordpress.org/trunk@57910 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/assets/css/blocks.css | 6 ++++++ .../themes/twentyseventeen/assets/css/editor-blocks.css | 6 ++++++ wp-includes/version.php | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/blocks.css b/wp-content/themes/twentyseventeen/assets/css/blocks.css index ba92e94e5a..350f49e930 100644 --- a/wp-content/themes/twentyseventeen/assets/css/blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/blocks.css @@ -196,6 +196,12 @@ p.has-drop-cap:not(:focus)::first-letter { text-align: right; } +/* Calendar */ + +.wp-block-calendar th { + text-align: center; +} + /*-------------------------------------------------------------- 4.0 Blocks - Layout Elements --------------------------------------------------------------*/ diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css index d6976f15d3..0937f936b3 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css @@ -709,6 +709,12 @@ table.wp-block-table td:last-child { text-align: right; } +/* Calendar */ + +.editor-styles-wrapper .wp-block-calendar th { + text-align: center; +} + /* Verse */ .editor-styles-wrapper .wp-block-verse { diff --git a/wp-includes/version.php b/wp-includes/version.php index 098839b470..d8b61c4751 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta3-58460'; +$wp_version = '6.6-beta3-58461'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.