fix(editor): preserve BOM, load tabs reliably and cache fence state
This commit is contained in:
@@ -384,7 +384,7 @@ body.editing #app { max-width: none; padding: 0; }
|
||||
#cm-editor { display: none; }
|
||||
body.editing.cm-active { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
|
||||
body.editing.cm-active .tabbar { flex: none; }
|
||||
body.editing.cm-active #app { flex: 1; min-height: 0; width: 100%; max-width: none; padding: 0; overflow: hidden; }
|
||||
body.editing.cm-active #app { flex: 1; min-height: 0; width: 100%; max-width: none; padding: 0; overflow: hidden; scrollbar-gutter: auto; }
|
||||
body.editing.cm-active #editor { display: none; }
|
||||
body.editing.cm-active #cm-editor { display: block; height: 100%; padding: 10px 0 0 14px; box-sizing: border-box; }
|
||||
#cm-editor .CodeMirror { height: 100%; background: transparent; color: inherit; font: 14px/1.6 "SF Mono","Menlo","Consolas",monospace; }
|
||||
@@ -435,6 +435,7 @@ body.editing.cm-active #cm-editor { display: block; height: 100%; padding: 10px
|
||||
|
||||
@media print {
|
||||
#cm-editor { display: none !important; }
|
||||
.findbar { display: none !important; }
|
||||
html, body { height: auto !important; overflow: visible !important; display: block !important; }
|
||||
#app { flex: none !important; height: auto !important; min-height: 0 !important; overflow: visible !important; scrollbar-gutter: auto; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user