From 3bab2c9131fa7d51e0ee28f7f402a53b66019d54 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sat, 27 Jul 2024 16:43:15 +0000 Subject: [PATCH] Twenty Twenty: Calendar and Table blocks do not apply custom font size. This fixes adding a custom font size to a Calendar and Table block. This was only an issue for custom font size entering. Props nidhidhandhukiya, yurajsinj2211, ankit-k-gupta, anveshika, sabernhardt, darshitrajyaguru97, shailu25, umesh84, SergeyBiryukov. Fixes #59996, #56157. Built from https://develop.svn.wordpress.org/trunk@58819 git-svn-id: http://core.svn.wordpress.org/trunk@58215 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/style-rtl.css | 9 +++++++++ wp-content/themes/twentytwenty/style.css | 9 +++++++++ wp-includes/version.php | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/style-rtl.css b/wp-content/themes/twentytwenty/style-rtl.css index 210e858f0d..e346329449 100644 --- a/wp-content/themes/twentytwenty/style-rtl.css +++ b/wp-content/themes/twentytwenty/style-rtl.css @@ -3041,6 +3041,15 @@ ol.wp-block-latest-comments { letter-spacing: inherit; } +/* Block: Calendar --------------------------- */ + +.wp-block-calendar[class*="-font-size"] table, +.wp-block-calendar[style*="font-size"] table, +.wp-block-calendar[class*="-font-size"] .wp-calendar-nav, +.wp-block-calendar[style*="font-size"] .wp-calendar-nav { + font-size: inherit; +} + /* Block: Columns ---------------------------- */ .wp-block-columns.alignfull, diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index 4113ace6ef..305dc375e1 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -3061,6 +3061,15 @@ ol.wp-block-latest-comments { letter-spacing: inherit; } +/* Block: Calendar --------------------------- */ + +.wp-block-calendar[class*="-font-size"] table, +.wp-block-calendar[style*="font-size"] table, +.wp-block-calendar[class*="-font-size"] .wp-calendar-nav, +.wp-block-calendar[style*="font-size"] .wp-calendar-nav { + font-size: inherit; +} + /* Block: Columns ---------------------------- */ .wp-block-columns.alignfull, diff --git a/wp-includes/version.php b/wp-includes/version.php index b4f99390f5..cfcf139199 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58818'; +$wp_version = '6.7-alpha-58819'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.