Fix CodeMirror toolbar hiding content

As it may happens that the codemirror content flows underneath the
status bar, this patch should help to avoid it. It adds the size of the
status bar as margin-bottom so the codemirror window itself is forced
above the statusbar.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
Sheogorath 2019-05-25 18:13:11 +02:00
parent de669c7b93
commit 5e500de628
No known key found for this signature in database
GPG key ID: 1F05CC3635CDDFFD

View file

@ -106,7 +106,10 @@ body.night{
color: #78B2F2 !important;
}
.CodeMirror-sizer {
margin-bottom: 0px !important;
/* Make sure CodeMirror doesn't hide text under the status bar
* 26px is the height of the status bar.
*/
margin-bottom: 26px !important;
}
.CodeMirror-insert-match {
background: lawngreen;