From 5602defc896344d91551d797e2d87625522071fe Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 6 May 2024 14:00:16 +0000 Subject: [PATCH] Twenty Thirteen: Updates table font size in editor and front. The table font size wasn't reflecting in editor and front. What this does is keep the default and adds in an inherit. Props umesh84, desrosj, shailu25, harshgajipara, darshitrajyaguru97, itpathsolutions. Fixes #56204. git-svn-id: https://develop.svn.wordpress.org/trunk@58103 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentythirteen/css/blocks.css | 5 +++++ src/wp-content/themes/twentythirteen/css/editor-blocks.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/wp-content/themes/twentythirteen/css/blocks.css b/src/wp-content/themes/twentythirteen/css/blocks.css index 5eb588a4a6..d86c1b24ff 100644 --- a/src/wp-content/themes/twentythirteen/css/blocks.css +++ b/src/wp-content/themes/twentythirteen/css/blocks.css @@ -290,6 +290,11 @@ body:not(.sidebar) .wp-block-cover > .wp-block-cover__inner-container > * { border-top: 1px solid #ededed; } +.wp-block-table[style*="font-size"] *, +.wp-block-table[class*="-font-size"] * { + font-size: inherit; +} + body:not(.sidebar) .wp-block-table.alignwide, body:not(.sidebar) .wp-block-table.alignfull { width: 100%; diff --git a/src/wp-content/themes/twentythirteen/css/editor-blocks.css b/src/wp-content/themes/twentythirteen/css/editor-blocks.css index 8daa0b0915..6139063036 100644 --- a/src/wp-content/themes/twentythirteen/css/editor-blocks.css +++ b/src/wp-content/themes/twentythirteen/css/editor-blocks.css @@ -331,6 +331,11 @@ p.has-drop-cap:not(:focus)::first-letter { padding: 0; } +.editor-styles-wrapper .wp-block-table[style*="font-size"] *, +.editor-styles-wrapper .wp-block-table[class*="-font-size"] * { + font-size: inherit; +} + /*-------------------------------------------------------------- 6.0 Blocks - Layout Elements --------------------------------------------------------------*/