mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-14 11:31:48 +01:00
Plugins: Improve search box margin behavior in the Add Plugins screen.
This changeset fixes a margin issue in the search input box on the Add New Plugins screen, which was previously breaking below 1138px. Specifically, the top margin was set to 0px, and the overall appearance of the search box was inconsistent between 1000px and 1138px. Now, the margin is consistent across all breakpoints. Props jomonthomaslobo1, narenin, iflairwebtechnologies, peterwilsoncc, audrasjb, shailu25. Fixes #61785. Built from https://develop.svn.wordpress.org/trunk@59706 git-svn-id: http://core.svn.wordpress.org/trunk@59048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
471cffffcc
commit
130a7a8567
@ -1116,11 +1116,6 @@ th.action-links {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins {
|
||||
/* This element is a flex item: the inherited float won't have any effect. */
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins select,
|
||||
.wp-filter .search-form.search-plugins .wp-filter-search,
|
||||
.no-js .wp-filter .search-form.search-plugins .button {
|
||||
@ -1353,6 +1348,12 @@ th.action-links {
|
||||
float: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1138px) {
|
||||
.wp-filter .search-form {
|
||||
margin: 11px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1120px) {
|
||||
.filter-drawer {
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
|
2
wp-admin/css/common-rtl.min.css
vendored
2
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1115,11 +1115,6 @@ th.action-links {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins {
|
||||
/* This element is a flex item: the inherited float won't have any effect. */
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins select,
|
||||
.wp-filter .search-form.search-plugins .wp-filter-search,
|
||||
.no-js .wp-filter .search-form.search-plugins .button {
|
||||
@ -1352,6 +1347,12 @@ th.action-links {
|
||||
float: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1138px) {
|
||||
.wp-filter .search-form {
|
||||
margin: 11px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1120px) {
|
||||
.filter-drawer {
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
|
2
wp-admin/css/common.min.css
vendored
2
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59705';
|
||||
$wp_version = '6.8-alpha-59706';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user