mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 21:00:59 +01:00
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:
parent
27d7112e88
commit
f54e344ed8
@ -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
|
||||
--------------------------------------------------------------*/
|
||||
|
@ -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
|
||||
--------------------------------------------------------------*/
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user