Twenty Nineteen: Resolves button block font issues.
The font on buttons was displaying less than the font size when applied through the editor. This resets the relative measurement on wp-block-button__link when either its Buttons or Button block has a custom size. Props nidhidhandhukiya, sabernhardt, SergeyBiryukov, manojmaharrshi, darshitrajyaguru97, shailu25. Fixes #56443. Built from https://develop.svn.wordpress.org/trunk@58199 git-svn-id: http://core.svn.wordpress.org/trunk@57662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a9135c617a
commit
56ce2e58de
|
@ -239,6 +239,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
.wp-block-buttons,
|
||||
.wp-block-button {
|
||||
|
||||
&.has-custom-font-size .wp-block-button__link {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
//! Latest posts, categories, archives
|
||||
.wp-block-archives,
|
||||
.wp-block-categories,
|
||||
|
|
|
@ -5563,6 +5563,11 @@ body.page .main-navigation {
|
|||
color: #111;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-buttons.has-custom-font-size .wp-block-button__link,
|
||||
.entry .entry-content .wp-block-button.has-custom-font-size .wp-block-button__link {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-archives,
|
||||
.entry .entry-content .wp-block-categories,
|
||||
.entry .entry-content .wp-block-latest-posts {
|
||||
|
|
|
@ -5575,6 +5575,11 @@ body.page .main-navigation {
|
|||
color: #111;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-buttons.has-custom-font-size .wp-block-button__link,
|
||||
.entry .entry-content .wp-block-button.has-custom-font-size .wp-block-button__link {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-archives,
|
||||
.entry .entry-content .wp-block-categories,
|
||||
.entry .entry-content .wp-block-latest-posts {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.6-alpha-58198';
|
||||
$wp_version = '6.6-alpha-58199';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue