From 2fecc77a68598b5169989a34d6d4d66593d544c1 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 29 Jul 2024 10:10:16 +0000 Subject: [PATCH] Twenty Twenty: Fixes Table font size when custom showing on front. The Table block was not reflecting the custom font size on the front. This solution now brings custom font sizes in for front the same as back in the editor. Props umesh84, SergeyBiryukov, sabernhardt, shailu25. Fixes #56157. Built from https://develop.svn.wordpress.org/trunk@58824 git-svn-id: http://core.svn.wordpress.org/trunk@58220 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/style-rtl.css | 5 +++++ wp-content/themes/twentytwenty/style.css | 5 +++++ wp-includes/version.php | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/style-rtl.css b/wp-content/themes/twentytwenty/style-rtl.css index e346329449..dc17ce27df 100644 --- a/wp-content/themes/twentytwenty/style-rtl.css +++ b/wp-content/themes/twentytwenty/style-rtl.css @@ -3389,6 +3389,11 @@ figure.wp-block-table.is-style-stripes { border-collapse: inherit; } +.wp-block-table[class*="-font-size"] table, +.wp-block-table[style*="font-size"] table { + font-size: inherit; +} + /* Block: Quote ------------------------------ */ .wp-block-quote p, diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index 305dc375e1..3ee6dbc431 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -3409,6 +3409,11 @@ figure.wp-block-table.is-style-stripes { border-collapse: inherit; } +.wp-block-table[class*="-font-size"] table, +.wp-block-table[style*="font-size"] table { + font-size: inherit; +} + /* Block: Quote ------------------------------ */ .wp-block-quote p, diff --git a/wp-includes/version.php b/wp-includes/version.php index d70f1ca073..50a6a6352e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58823'; +$wp_version = '6.7-alpha-58824'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.