CSS Coding Standards: Use unitless values for line-height in wp-includes/css/buttons.css.

Props ianbelanger, pbiron, afercia.
Fixes #46526. See #44643.
Built from https://develop.svn.wordpress.org/trunk@45476


git-svn-id: http://core.svn.wordpress.org/trunk@45287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-30 12:42:52 +00:00
parent 1d98a92fad
commit 5083e104d4
5 changed files with 15 additions and 15 deletions

View File

@ -46,7 +46,7 @@ TABLE OF CONTENTS:
display: inline-block;
text-decoration: none;
font-size: 13px;
line-height: 26px;
line-height: 2;
height: 28px;
margin: 0;
padding: 0 10px 1px;
@ -72,14 +72,14 @@ TABLE OF CONTENTS:
.wp-core-ui .button.button-large,
.wp-core-ui .button-group.button-large .button {
height: 30px;
line-height: 28px;
line-height: 2.15384615;
padding: 0 12px 2px;
}
.wp-core-ui .button.button-small,
.wp-core-ui .button-group.button-small .button {
height: 24px;
line-height: 22px;
line-height: 2;
padding: 0 8px 1px;
font-size: 11px;
}
@ -88,7 +88,7 @@ TABLE OF CONTENTS:
.wp-core-ui .button-group.button-hero .button {
font-size: 14px;
height: 46px;
line-height: 44px;
line-height: 3.14285714;
padding: 0 36px;
}
@ -375,7 +375,7 @@ TABLE OF CONTENTS:
.wp-core-ui.wp-customizer .button {
padding: 0 10px 1px;
font-size: 13px;
line-height: 26px;
line-height: 2;
height: 28px;
margin: 0;
vertical-align: inherit;
@ -390,7 +390,7 @@ TABLE OF CONTENTS:
.interim-login .button.button-large {
height: 30px;
line-height: 28px;
line-height: 2;
padding: 0 12px 2px;
}

File diff suppressed because one or more lines are too long

View File

@ -46,7 +46,7 @@ TABLE OF CONTENTS:
display: inline-block;
text-decoration: none;
font-size: 13px;
line-height: 26px;
line-height: 2;
height: 28px;
margin: 0;
padding: 0 10px 1px;
@ -72,14 +72,14 @@ TABLE OF CONTENTS:
.wp-core-ui .button.button-large,
.wp-core-ui .button-group.button-large .button {
height: 30px;
line-height: 28px;
line-height: 2.15384615;
padding: 0 12px 2px;
}
.wp-core-ui .button.button-small,
.wp-core-ui .button-group.button-small .button {
height: 24px;
line-height: 22px;
line-height: 2;
padding: 0 8px 1px;
font-size: 11px;
}
@ -88,7 +88,7 @@ TABLE OF CONTENTS:
.wp-core-ui .button-group.button-hero .button {
font-size: 14px;
height: 46px;
line-height: 44px;
line-height: 3.14285714;
padding: 0 36px;
}
@ -375,7 +375,7 @@ TABLE OF CONTENTS:
.wp-core-ui.wp-customizer .button {
padding: 0 10px 1px;
font-size: 13px;
line-height: 26px;
line-height: 2;
height: 28px;
margin: 0;
vertical-align: inherit;
@ -390,7 +390,7 @@ TABLE OF CONTENTS:
.interim-login .button.button-large {
height: 30px;
line-height: 28px;
line-height: 2;
padding: 0 12px 2px;
}

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45475';
$wp_version = '5.3-alpha-45476';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.