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.

Built from https://develop.svn.wordpress.org/trunk@39233


git-svn-id: http://core.svn.wordpress.org/trunk@39173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter
2016-11-15 00:15:30 +00:00
parent 56723c61c6
commit a69d66bac3
7 changed files with 37 additions and 7 deletions

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;
}