Themes: Correct the height of theme actions button container on various screen sizes.

Props aftabmuni, alexischenal, ideaboxcreations, audrasjb, SergeyBiryukov.
Fixes #49302.

git-svn-id: https://develop.svn.wordpress.org/trunk@47293 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-02-15 05:06:39 +00:00
parent 45e02b9026
commit 0e52a4efc1
2 changed files with 4 additions and 16 deletions

View File

@ -1631,7 +1631,7 @@ p.customize-section-description {
.theme-browser .theme.active .theme-actions,
.wp-customizer .theme-browser .theme .theme-actions {
padding: 10px 15px;
padding: 9px 15px;
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
}
@ -2937,21 +2937,9 @@ body.adding-widget .add-new-widget:before,
.wp-core-ui .themes-filter-bar .feature-filter-toggle {
margin: 0;
}
.theme-browser .theme.active .theme-actions,
.wp-customizer .theme-browser .theme .theme-actions {
padding: 9px 15px;
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
}
}
@media screen and (max-width: 600px) {
.theme-browser .theme.active .theme-actions,
.wp-customizer .theme-browser .theme .theme-actions {
padding: 8px 15px;
box-shadow: none;
}
.wp-full-overlay.expanded {
margin-left: 0;
}

View File

@ -229,7 +229,7 @@ body.js .theme-browser.search-loading {
top: 50%;
transform: translateY(-50%);
right: 0;
padding: 10px 15px;
padding: 9px 15px;
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
}
@ -1910,8 +1910,8 @@ body.full-overlay-active {
.theme-browser .theme.active .theme-actions,
.theme-browser .theme .theme-actions {
padding-top: 8px;
padding-bottom: 8px;
padding-top: 4px;
padding-bottom: 4px;
}
}