1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 17:02:40 +01:00

fix resizing quirk due to new top panel (#3567)

This commit is contained in:
Raymond Hill 2018-03-04 18:09:06 -05:00
parent 84ba3e918c
commit 65e55549c7
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -2,13 +2,22 @@
font-size: 12px; font-size: 12px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
.CodeMirror { .CodeMirror {
border: 1px solid #ddd; border: 1px solid #ddd;
box-sizing: border-box; box-sizing: border-box;
flex-grow: 1;
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
/* For when panels are used */
.codeMirrorContainer > div:not(.CodeMirror) {
display: flex;
flex-direction: column;
height: 100%;
}
.cm-s-default .cm-comment {color: #777;} .cm-s-default .cm-comment {color: #777;}
.cm-staticext {color: #008;} .cm-staticext {color: #008;}
.cm-staticnet.cm-block {color: #800;} .cm-staticnet.cm-block {color: #800;}