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.

Built from https://develop.svn.wordpress.org/trunk@58103


git-svn-id: http://core.svn.wordpress.org/trunk@57568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-05-06 14:02:12 +00:00
parent 28e8f39f15
commit ee10ddb605
3 changed files with 11 additions and 1 deletions

View File

@ -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%;

View File

@ -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
--------------------------------------------------------------*/

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-alpha-58102';
$wp_version = '6.6-alpha-58103';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.