Customize: Increase width of controls pane on large monitors to give more room.
Props celloexpressions, timmydcrawford. Fixes #32296. Built from https://develop.svn.wordpress.org/trunk@40511 git-svn-id: http://core.svn.wordpress.org/trunk@40387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1189,20 +1189,18 @@ p.customize-section-description {
|
||||
.customize-section-description-container + #customize-control-custom_css:last-child {
|
||||
margin-left: -12px;
|
||||
width: 299px;
|
||||
width: -webkit-calc( 100% + 24px );
|
||||
width: calc( 100% + 24px );
|
||||
margin-bottom: -12px;
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 640px ) {
|
||||
.customize-section-description-container + #customize-control-custom_css:last-child {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.customize-section-description-container + #customize-control-custom_css:last-child textarea {
|
||||
height: -webkit-calc( 100vh - 140px );
|
||||
height: calc( 100vh - 140px );
|
||||
width: 100%;
|
||||
border: solid 1px #ddd;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user