-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Admin reskin: Remove line-height from input elements #11383
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
Changes from all commits
7e8a286
14ce6d7
24c630f
ea7f3d0
935dd5e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2184,7 +2184,6 @@ p.customize-section-description { | |
| } | ||
|
|
||
| .themes-filter-bar .wp-filter-search { | ||
| line-height: 2.14285714; /* 30px for 32px compact input */ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| padding: 0 10px 0 30px; | ||
| max-width: 100%; | ||
| width: 40%; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -533,7 +533,6 @@ | |
| width: 40%; | ||
| margin: 0; | ||
| min-height: 32px; | ||
| line-height: 2.14285714; | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| padding: 0 8px; | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -69,7 +69,6 @@ input[type="url"], | |
| input[type="week"] { | ||
| padding: 0 12px; | ||
| /* inherits font size 14px */ | ||
| line-height: 2.71428571; /* 38px for 40px min-height */ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the basic style for the input element. |
||
| min-height: 40px; | ||
| } | ||
|
|
||
|
|
@@ -816,7 +815,6 @@ p.search-box { | |
| p.search-box input[type="search"], | ||
| p.search-box input[type="text"] { | ||
| min-height: 32px; | ||
| line-height: 2.14285714; /* 30px for 32px height with 14px font */ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| padding: 0 8px; | ||
| } | ||
|
|
||
|
|
@@ -1237,8 +1235,7 @@ table.form-table td .updated p { | |
| .options-general-php input.small-text { | ||
| width: 56px; | ||
| margin: -2px 0; | ||
| min-height: 24px; | ||
| line-height: 1.71428571; /* 24px for 14px font size */ | ||
| min-height: 32px; | ||
| } | ||
|
|
||
| .options-general-php .spinner { | ||
|
|
@@ -1601,7 +1598,6 @@ table.form-table td .updated p { | |
| -webkit-appearance: none; | ||
| padding: 0 12px; | ||
| min-height: 40px; | ||
| line-height: 2.5; /* 40px for 16px font */ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the basic style for mobile viewports. |
||
| } | ||
|
|
||
| ::-webkit-datetime-edit { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -686,7 +686,6 @@ th.sorted a span { | |
| font-size: 13px; | ||
| text-align: center; | ||
| min-height: 32px; | ||
| line-height: 2.30769231; /* 30px for 32px height with 13px font */ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| padding: 0 8px; | ||
| } | ||
|
|
||
|
|
@@ -1099,7 +1098,6 @@ tr.inline-edit-row td { | |
|
|
||
| .inline-edit-row select, | ||
| .inline-edit-row input:where(:not([type=checkbox],[type=radio],[type=submit],[type=button])) { | ||
| line-height: 2.14285714; | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| min-height: 32px; | ||
| padding: 0 8px 0 8px; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -568,7 +568,6 @@ border color while dragging a file over the uploader drop area */ | |
|
|
||
| .media-frame.mode-grid .media-toolbar input[type="search"] { | ||
| min-height: 32px; | ||
| line-height: 2.14285714; /* 30px for 32px height with 14px font */ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| padding: 0 8px; | ||
| } | ||
|
|
||
|
|
||






There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plugins > Add Plugin > "Search Plugins" field