mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +00:00
Theme Customizer: Remove !important declarations from hide-if-customize and hide-if-no-customize classes. Use a default no-customize-support class on the body so we can use an element's original display property when visible. fixes #20565, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20759 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4411,7 +4411,7 @@ h3.available-themes {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.available-theme a.screenshot {
|
||||
.available-theme .screenshot {
|
||||
width: 300px;
|
||||
height: 225px;
|
||||
display: block;
|
||||
@@ -4556,12 +4556,12 @@ h3.available-themes {
|
||||
/* Allow for three-up on 1024px wide screens, e.g. tablets */
|
||||
@media only screen and (max-width: 1200px) {
|
||||
.available-theme,
|
||||
.available-theme a.screenshot,
|
||||
.available-theme .screenshot,
|
||||
#current-theme img {
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.available-theme a.screenshot {
|
||||
.available-theme .screenshot {
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
@@ -5428,14 +5428,9 @@ body.full-overlay-active {
|
||||
24.0 - Customize Loader
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.hide-if-no-customize,
|
||||
.no-customize-support .hide-if-no-customize,
|
||||
.customize-support .hide-if-customize {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.hide-if-customize,
|
||||
.customize-support .hide-if-no-customize {
|
||||
display: block !important;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#customize-container {
|
||||
|
||||
Reference in New Issue
Block a user