Bundled Themes: Fix Twenty Fourteen button block line-height.
Change the button block in Twenty Fourteen to use relative instead of fixed line-height. Prevent visual errors with larger font sizes on the front-end. Props nidhidhandhukiya, algorithmsunlocks, mayur8991, sabernhardt. Fixes #58444. Built from https://develop.svn.wordpress.org/trunk@55932 git-svn-id: http://core.svn.wordpress.org/trunk@55444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df4c8c8497
commit
f50eccbe85
|
@ -142,7 +142,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 15px;
|
line-height: 1.25;
|
||||||
padding: 10px 30px 11px;
|
padding: 10px 30px 11px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
|
@ -235,7 +235,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
.wp-block-button .wp-block-button__link {
|
.wp-block-button .wp-block-button__link {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 15px;
|
line-height: 1.25;
|
||||||
padding: 10px 30px 11px;
|
padding: 10px 30px 11px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
|
@ -336,7 +336,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: normal;
|
line-height: 1.25;
|
||||||
padding: 10px 30px 11px;
|
padding: 10px 30px 11px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
|
@ -418,6 +418,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
.wp-block-button .wp-block-button__link {
|
.wp-block-button .wp-block-button__link {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
line-height: 1.25;
|
||||||
padding: 10px 30px 11px;
|
padding: 10px 30px 11px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.3-alpha-55931';
|
$wp_version = '6.3-alpha-55932';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue