Browse Source

fix: raw file page #983

charlie 4 years ago
parent
commit
cb3848ebab
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/frontend/extensions/code.css

+ 2 - 1
src/main/frontend/extensions/code.css

@@ -11,7 +11,8 @@
   > .CodeMirror {
     z-index: 0;
     height: auto;
-    margin: 6px 0 0 0;
+    padding: 6px 0 0 0;
     font-family: Fira Code, Monaco, Menlo, Consolas, 'COURIER NEW', monospace;
+    max-width: 86vw;
   }
 }