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

Props ianbelanger, pbiron, afercia.
Fixes #46526. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45476 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-05-30 12:41:56 +00:00
parent 4154cb7762
commit 42d0a9ff5d

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;
}