Twenty Twelve: Fixes table block font size not changing.

Currently the table block font size does not change in the editor or front-end. This ensures this is reflected in the table block.

Props sabernhardt, tahmidulkarim, sheulyshila.
Fixes #58074.

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


git-svn-id: http://core.svn.wordpress.org/trunk@57398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-03-28 20:58:17 +00:00
parent 6ec197bdf3
commit 11dfccd894
3 changed files with 11 additions and 1 deletions

View File

@ -242,6 +242,11 @@ pre.wp-block-code {
padding: 6px 10px 6px 0;
}
.wp-block-table[style*="font-size"] *,
.wp-block-table[class*="-font-size"] * {
font-size: inherit;
}
/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/

View File

@ -315,6 +315,11 @@ p.has-drop-cap:not(:focus)::first-letter {
color: inherit;
}
.editor-styles-wrapper .wp-block-table[style*="font-size"] *,
.editor-styles-wrapper .wp-block-table[class*="-font-size"] * {
font-size: inherit;
}
.editor-block-list__block .wp-block-table th {
border: 0;
font-size: 11px;

View File

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