Customize: Fix alignment of Customize, Activate, and Live Preview buttons appearing on the Themes admin screen.
Amends [41893]. Props Mahvash-Fatima. See #42215. Fixes #42275. Built from https://develop.svn.wordpress.org/trunk@41949 git-svn-id: http://core.svn.wordpress.org/trunk@41783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1675,6 +1675,12 @@ p.customize-section-description {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.theme-browser .theme.active .theme-actions,
|
||||
.wp-customizer .theme-browser .theme .theme-actions {
|
||||
padding: 10px 15px;
|
||||
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 640px ) {
|
||||
.customize-section-description-container + #customize-control-custom_css:last-child {
|
||||
margin-right: 0;
|
||||
@@ -2098,21 +2104,6 @@ p.customize-section-description {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.theme-id-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.theme-browser .theme.active .theme-actions,
|
||||
.wp-customizer .theme-browser .theme .theme-actions {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
right: 0;
|
||||
padding: 10px 15px;
|
||||
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
#customize-controls .theme-overlay .theme-name {
|
||||
font-size: 32px;
|
||||
}
|
||||
@@ -3042,3 +3033,11 @@ body.adding-widget .add-new-widget:before,
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user