Customize: Adjust layout for edit shortcuts only when shown.

Add theme-specific positioning of edit shortcuts in Twenty Fourteen and Twenty Seventeen.

Props sirbrillig, sstoqnov, westonruter.
Fixes #38651.


git-svn-id: https://develop.svn.wordpress.org/trunk@39233 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter
2016-11-15 00:14:24 +00:00
parent c8b86fdd52
commit ad0dae996e
3 changed files with 32 additions and 2 deletions
+2 -2
View File
@@ -252,11 +252,11 @@ body.customize-partial-edit-shortcuts-hidden .customize-partial-edit-shortcut bu
}
@media screen and (max-width:320px) {
.site-title {
body.customize-partial-edit-shortcuts-shown .site-title {
padding-left: 10px;
}
.widget-area .widget {
body.customize-partial-edit-shortcuts-shown .widget-area .widget {
padding-left: 10px;
}