mirror of https://github.com/gorhill/uBlock.git
fix resizing quirk due to new top panel (#3567)
This commit is contained in:
parent
84ba3e918c
commit
65e55549c7
|
@ -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;}
|
||||||
|
|
Loading…
Reference in New Issue