Procházet zdrojové kódy

Merge pull request #1558 from blink1073/fix-cm-padding

Fix CodeMirror gutter offset
Afshin Darian před 8 roky
rodič
revize
24649b5d7e
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5 0
      src/codemirror/index.css

+ 5 - 0
src/codemirror/index.css

@@ -62,6 +62,11 @@
 }
 
 
+.CodeMirror-gutter-wrapper {
+  margin-left: calc(-1 * var(--jp-code-padding));
+}
+
+
 /*
   Here is our jupyter theme for CodeMirror syntax highlighting
   This is used in our marked.js syntax highlighting and CodeMirror itself