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 trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@42189 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
323a8c95f0
commit
551163278b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user