File Editor: Eliminate gap inserted between code editor and heading in IE11 when CodeMirror initializes.

Props afercia, melchoyce, Clorith for testing, SergeyBiryukov for testing.
See #12423.
Fixes #42554 for 4.9.

Built from https://develop.svn.wordpress.org/branches/4.9@42190


git-svn-id: http://core.svn.wordpress.org/branches/4.9@42020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-11-15 18:31:37 +00:00
parent 567de560e9
commit 73615e0bc4
5 changed files with 35 additions and 33 deletions

View File

@ -860,7 +860,7 @@ hr {
#media-items a.delete, #media-items a.delete,
#media-items a.delete-permanently, #media-items a.delete-permanently,
#nav-menu-footer .menu-delete, #nav-menu-footer .menu-delete,
#delete-link a.delete { #delete-link a.delete {
color: #a00; color: #a00;
} }
@ -3042,6 +3042,7 @@ img {
min-height: 60vh; min-height: 60vh;
height: calc( 100vh - 295px ); height: calc( 100vh - 295px );
border: 1px solid #ddd; border: 1px solid #ddd;
box-sizing: border-box;
} }
#templateside > h2 { #templateside > h2 {
@ -3060,8 +3061,8 @@ img {
margin-top: 0; margin-top: 0;
overflow: auto; overflow: auto;
padding: 0; padding: 0;
min-height: calc(60vh + 2px); min-height: 60vh;
height: calc(100vh - 293px); height: calc(100vh - 295px);
background-color: #f7f7f7; background-color: #f7f7f7;
border: 1px solid #ddd; border: 1px solid #ddd;
border-right: none; border-right: none;
@ -3760,17 +3761,17 @@ img {
} }
/* Theme/Plugin File Editor */ /* Theme/Plugin File Editor */
#template textarea, #template textarea,
#template .CodeMirror { #template .CodeMirror {
box-sizing: border-box; box-sizing: border-box;
} }
#templateside { #templateside {
float: none; float: none;
width: auto; width: auto;
} }
#templateside > ul { #templateside > ul {
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
} }
@ -3841,31 +3842,31 @@ img {
width: 100%; width: 100%;
text-align: right; text-align: right;
} }
.fileedit-sub .alignright label { .fileedit-sub .alignright label {
display: block; display: block;
} }
.fileedit-sub #theme, .fileedit-sub #theme,
.fileedit-sub #plugin { .fileedit-sub #plugin {
margin-right: 0; margin-right: 0;
max-width: 70%; max-width: 70%;
} }
.fileedit-sub input[type="submit"] { .fileedit-sub input[type="submit"] {
margin-bottom: 0px; margin-bottom: 0px;
padding: 8px 18px; padding: 8px 18px;
} }
#documentation label[for="docs-list"] { #documentation label[for="docs-list"] {
display: block; display: block;
} }
#documentation select[name="docs-list"] { #documentation select[name="docs-list"] {
margin-right: 0; margin-right: 0;
max-width: 60%; max-width: 60%;
} }
#documentation input[type="button"] { #documentation input[type="button"] {
margin-bottom: 0; margin-bottom: 0;
padding: 8px 18px; padding: 8px 18px;

File diff suppressed because one or more lines are too long

View File

@ -860,7 +860,7 @@ hr {
#media-items a.delete, #media-items a.delete,
#media-items a.delete-permanently, #media-items a.delete-permanently,
#nav-menu-footer .menu-delete, #nav-menu-footer .menu-delete,
#delete-link a.delete { #delete-link a.delete {
color: #a00; color: #a00;
} }
@ -3042,6 +3042,7 @@ img {
min-height: 60vh; min-height: 60vh;
height: calc( 100vh - 295px ); height: calc( 100vh - 295px );
border: 1px solid #ddd; border: 1px solid #ddd;
box-sizing: border-box;
} }
#templateside > h2 { #templateside > h2 {
@ -3060,8 +3061,8 @@ img {
margin-top: 0; margin-top: 0;
overflow: auto; overflow: auto;
padding: 0; padding: 0;
min-height: calc(60vh + 2px); min-height: 60vh;
height: calc(100vh - 293px); height: calc(100vh - 295px);
background-color: #f7f7f7; background-color: #f7f7f7;
border: 1px solid #ddd; border: 1px solid #ddd;
border-left: none; border-left: none;
@ -3760,17 +3761,17 @@ img {
} }
/* Theme/Plugin File Editor */ /* Theme/Plugin File Editor */
#template textarea, #template textarea,
#template .CodeMirror { #template .CodeMirror {
box-sizing: border-box; box-sizing: border-box;
} }
#templateside { #templateside {
float: none; float: none;
width: auto; width: auto;
} }
#templateside > ul { #templateside > ul {
border-left: 1px solid #ddd; border-left: 1px solid #ddd;
} }
@ -3841,31 +3842,31 @@ img {
width: 100%; width: 100%;
text-align: left; text-align: left;
} }
.fileedit-sub .alignright label { .fileedit-sub .alignright label {
display: block; display: block;
} }
.fileedit-sub #theme, .fileedit-sub #theme,
.fileedit-sub #plugin { .fileedit-sub #plugin {
margin-left: 0; margin-left: 0;
max-width: 70%; max-width: 70%;
} }
.fileedit-sub input[type="submit"] { .fileedit-sub input[type="submit"] {
margin-bottom: 0px; margin-bottom: 0px;
padding: 8px 18px; padding: 8px 18px;
} }
#documentation label[for="docs-list"] { #documentation label[for="docs-list"] {
display: block; display: block;
} }
#documentation select[name="docs-list"] { #documentation select[name="docs-list"] {
margin-left: 0; margin-left: 0;
max-width: 60%; max-width: 60%;
} }
#documentation input[type="button"] { #documentation input[type="button"] {
margin-bottom: 0; margin-bottom: 0;
padding: 8px 18px; padding: 8px 18px;

File diff suppressed because one or more lines are too long

View File

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