graduate from Quirks mode

This commit is contained in:
tophf 2021-09-21 09:38:36 +03:00
parent 4a0f74764a
commit 349a8c3878
3 changed files with 3 additions and 17 deletions

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html id="stylus"> <html id="stylus">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">

View File

@ -962,13 +962,6 @@ body:not(.find-open) [data-match-highlight-count="1"] .CodeMirror-selection-high
} }
/************ single editor **************/ /************ single editor **************/
.usercss body {
display: flex;
height: 100vh;
flex-direction: column;
justify-items: normal;
}
.usercss .CodeMirror-focused { .usercss .CodeMirror-focused {
box-shadow: none; box-shadow: none;
} }
@ -991,13 +984,9 @@ body.linter-disabled .hidden-unless-compact {
margin-top: .75rem; margin-top: .75rem;
} }
.single-editor {
height: 100%;
}
.single-editor .CodeMirror { .single-editor .CodeMirror {
width: 100%; width: 100%;
height: auto; height: 100vh; /* WARNING! Don't use 100% as it's dead slow */
border: none; border: none;
outline: none; outline: none;
} }
@ -1011,11 +1000,6 @@ body.linter-disabled .hidden-unless-compact {
color: #666; color: #666;
} }
.usercss.firefox #sections,
.usercss.firefox .CodeMirror {
height: 100%;
}
/************ line widget *************/ /************ line widget *************/
.CodeMirror-linewidget .applies-to { .CodeMirror-linewidget .applies-to {
margin: 1em 0; margin: 1em 0;

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html id="stylus"> <html id="stylus">
<head> <head>