Code Editors: Tweak styles to work better on smaller screens.

See #42100.

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


git-svn-id: http://core.svn.wordpress.org/trunk@41833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mel Choyce 2017-10-24 20:29:46 +00:00
parent 9c7eb32fc2
commit c0d0380baa
5 changed files with 91 additions and 5 deletions

View File

@ -3756,10 +3756,20 @@ img {
}
/* Theme/Plugin File Editor */
#template textarea,
#template .CodeMirror {
box-sizing: border-box;
}
#templateside {
float: none;
width: auto;
}
#templateside > ul {
border-right: 1px solid #ddd;
}
#templateside li {
margin: 0;
@ -3814,11 +3824,44 @@ img {
right: -8px;
}
.wrap #templateside span.notice {
margin-right: -14px;
margin-right: -5px;
width: 100%;
}
.fileedit-sub .alignright {
float: right;
margin-top: 15px;
width: 100%;
text-align: right;
}
.fileedit-sub .alignright label {
display: block;
}
.fileedit-sub #theme,
.fileedit-sub #plugin {
margin-right: 0;
max-width: 70%;
}
.fileedit-sub input[type="submit"] {
margin-bottom: 0px;
padding: 8px 18px;
}
#documentation label[for="docs-list"] {
display: block;
}
#documentation select[name="docs-list"] {
margin-right: 0;
max-width: 60%;
}
#documentation input[type="button"] {
margin-bottom: 0;
padding: 8px 18px;
}
#wpfooter {

File diff suppressed because one or more lines are too long

View File

@ -3756,10 +3756,20 @@ img {
}
/* Theme/Plugin File Editor */
#template textarea,
#template .CodeMirror {
box-sizing: border-box;
}
#templateside {
float: none;
width: auto;
}
#templateside > ul {
border-left: 1px solid #ddd;
}
#templateside li {
margin: 0;
@ -3814,11 +3824,44 @@ img {
left: -8px;
}
.wrap #templateside span.notice {
margin-left: -14px;
margin-left: -5px;
width: 100%;
}
.fileedit-sub .alignright {
float: left;
margin-top: 15px;
width: 100%;
text-align: left;
}
.fileedit-sub .alignright label {
display: block;
}
.fileedit-sub #theme,
.fileedit-sub #plugin {
margin-left: 0;
max-width: 70%;
}
.fileedit-sub input[type="submit"] {
margin-bottom: 0px;
padding: 8px 18px;
}
#documentation label[for="docs-list"] {
display: block;
}
#documentation select[name="docs-list"] {
margin-left: 0;
max-width: 60%;
}
#documentation input[type="button"] {
margin-bottom: 0;
padding: 8px 18px;
}
#wpfooter {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta3-41998';
$wp_version = '4.9-beta3-41999';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.