Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace em-based line-height with unitless values #6537

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/wp-admin/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -508,14 +508,14 @@ code {
.widefat td ol,
.widefat td ul {
font-size: 13px;
line-height: 1.5em;
line-height: 1.5;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the line-height value will same? Could you share the screenshot before after chances?

}

.widefat th,
.widefat thead td,
.widefat tfoot td {
text-align: left;
line-height: 1.3em;
line-height: 1.3;
font-size: 14px;
}

Expand Down Expand Up @@ -777,7 +777,7 @@ img.emoji {
.widefat thead td,
.widefat tfoot th,
.widefat tfoot td {
line-height: 1.4em;
line-height: 1.4;
}

.widget .widget-top,
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ p.description code {

p.popular-tags {
border: none;
line-height: 2em;
line-height: 2;
padding: 8px 12px 12px;
text-align: justify;
}
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/install.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fieldset {
color: #3c434a; /* same as login.css */
font-size: 20px;
font-weight: 400;
line-height: 1.3em;
line-height: 1.3;
text-decoration: none;
text-align: center;
text-indent: -9999px;
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/list-tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,7 @@ div.action-links,

table.plugin-install td.column-name strong {
font-size: 1.4em;
line-height: 1.6em;
line-height: 1.6;
}

table.plugin-install #the-list td {
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
height: 22px;
margin: 7px 6px;
width: 200px;
line-height: 2em;
line-height: 2;
padding: 0;
overflow: hidden;
border-radius: 22px;
Expand Down
Loading