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
This commit is contained in:
Tammie Lister 2024-07-29 10:10:16 +00:00
parent 8c22cdcc5f
commit 2fecc77a68
3 changed files with 11 additions and 1 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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.