Twenty Ten: Fixes table and calendar block font size issues.

The table and calendar block font sizes were not the same on front and in editor. This resolves in using relative line-height.

Props iamfarhan09, bijit027, sabernhardt.
Fixes #58362.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-07-03 10:29:16 +00:00
parent 27d7112e88
commit f54e344ed8
3 changed files with 17 additions and 1 deletions

View File

@ -156,6 +156,14 @@ p.has-drop-cap:not(:focus)::first-letter {
background: #f2f7fc;
}
#content .wp-block-table[style*="font-size"] *,
#content .wp-block-table[class*="-font-size"] *,
#content .wp-block-calendar[style*="font-size"] *,
#content .wp-block-calendar[class*="-font-size"] * {
font-size: inherit;
line-height: 1.5;
}
/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/

View File

@ -294,6 +294,14 @@ p.has-drop-cap:not(:focus)::first-letter {
padding-top: 0;
}
.wp-block-table[style*="font-size"] *,
.wp-block-table[class*="-font-size"] *,
.wp-block-calendar[style*="font-size"] *,
.wp-block-calendar[class*="-font-size"] * {
font-size: inherit;
line-height: 1.5;
}
/*--------------------------------------------------------------
5.0 Blocks - Widgets
--------------------------------------------------------------*/

View File

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