CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/themes.css`.
Props ianbelanger, mukesh27, audrasjb, pbiron, afercia. Fixes #46518. See #44643. git-svn-id: https://develop.svn.wordpress.org/trunk@45188 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
eb2f56da08
commit
4de00af6f8
|
@ -1096,7 +1096,7 @@ p.no-themes-local {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-details .theme-rating {
|
.theme-details .theme-rating {
|
||||||
line-height: 23px;
|
line-height: 1.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-details .star-rating {
|
.theme-details .star-rating {
|
||||||
|
@ -1111,7 +1111,7 @@ p.no-themes-local {
|
||||||
|
|
||||||
.theme-details .no-rating {
|
.theme-details .no-rating {
|
||||||
display: block;
|
display: block;
|
||||||
line-height: 20px;
|
line-height: 1.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
|
@ -1213,7 +1213,7 @@ div#custom-background-image img {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
/* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */
|
/* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */
|
||||||
height: 40px !important;
|
height: 40px !important;
|
||||||
line-height: 37px !important;
|
line-height: 2.9 !important;
|
||||||
margin: 0 -1px 0 0 !important;
|
margin: 0 -1px 0 0 !important;
|
||||||
padding: 0 10px 1px !important;
|
padding: 0 10px 1px !important;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -1376,7 +1376,7 @@ body.full-overlay-active {
|
||||||
right: 0;
|
right: 0;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
line-height: 45px;
|
line-height: 3.2;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
|
@ -1514,7 +1514,7 @@ body.full-overlay-active {
|
||||||
.wp-full-overlay .collapse-sidebar-label {
|
.wp-full-overlay .collapse-sidebar-label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
line-height: 20px;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-full-overlay .collapse-sidebar-arrow {
|
.wp-full-overlay .collapse-sidebar-arrow {
|
||||||
|
@ -1781,7 +1781,7 @@ body.full-overlay-active {
|
||||||
|
|
||||||
.install-theme-info .theme-name {
|
.install-theme-info .theme-name {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 24px;
|
line-height: 1.5;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
@ -1803,7 +1803,7 @@ body.full-overlay-active {
|
||||||
.theme-details .theme-description {
|
.theme-details .theme-description {
|
||||||
float: left;
|
float: left;
|
||||||
color: #72777c;
|
color: #72777c;
|
||||||
line-height: 20px;
|
line-height: 1.6;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1811,7 +1811,7 @@ body.full-overlay-active {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 8px 10px 0 0;
|
margin: 8px 10px 0 0;
|
||||||
/* For when .theme-install is a span rather than a.button-primary (already installed theme) */
|
/* For when .theme-install is a span rather than a.button-primary (already installed theme) */
|
||||||
line-height: 26px;
|
line-height: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-install-overlay .wp-full-overlay-sidebar {
|
.theme-install-overlay .wp-full-overlay-sidebar {
|
||||||
|
|
Loading…
Reference in New Issue