Improve the Customize experience on mobile.
Before: https://make.wordpress.org/flow/2015/02/02/a-peek-at-the-customizer-on-an-iphone-6/ After: https://make.wordpress.org/flow/2015/02/03/vizrec-for-28784-improve-the-customize-experience-on-mobile-iphone-6-28784-diff-4-2-alpha-31325/ props celloexpressions. see #28784. Built from https://develop.svn.wordpress.org/trunk@31384 git-svn-id: http://core.svn.wordpress.org/trunk@31365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -344,7 +344,7 @@ body.adding-widget .add-new-widget:before {
|
||||
width: 300px;
|
||||
margin: 0;
|
||||
z-index: 1;
|
||||
background: #fff;
|
||||
background: #fff !important;
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
border-left: 1px solid #dddddd;
|
||||
@@ -607,3 +607,17 @@ body.adding-widget #customize-preview {
|
||||
top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 640px ) {
|
||||
body.adding-widget div#available-widgets {
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#available-widgets-filter {
|
||||
position: static;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user