mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Merge pull request #5890 from minrk/cm-hscroll-bad
forcefully hide CodeMirror scrollbars
This commit is contained in:
commit
8919e8c073
@ -48,3 +48,10 @@
|
|||||||
border: 0;
|
border: 0;
|
||||||
.border-radius(0)
|
.border-radius(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: This is a horrible workaround for CodeMirror bug #2562.
|
||||||
|
// Let's try not to release 3.0 with this.
|
||||||
|
|
||||||
|
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
1
IPython/html/static/style/ipython.min.css
vendored
1
IPython/html/static/style/ipython.min.css
vendored
@ -61,6 +61,7 @@ div.input_area>div.highlight>pre{margin:0;border:none;padding:0;background-color
|
|||||||
.CodeMirror-linenumber{padding:0 8px 0 4px}
|
.CodeMirror-linenumber{padding:0 8px 0 4px}
|
||||||
.CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px}
|
.CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px}
|
||||||
.CodeMirror pre{padding:0;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
|
.CodeMirror pre{padding:0;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
|
||||||
|
.CodeMirror-vscrollbar,.CodeMirror-hscrollbar{display:none !important}
|
||||||
pre code{display:block;padding:.5em}
|
pre code{display:block;padding:.5em}
|
||||||
.highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000}
|
.highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000}
|
||||||
.highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121}
|
.highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121}
|
||||||
|
1
IPython/html/static/style/style.min.css
vendored
1
IPython/html/static/style/style.min.css
vendored
@ -1366,6 +1366,7 @@ div.input_area>div.highlight>pre{margin:0;border:none;padding:0;background-color
|
|||||||
.CodeMirror-linenumber{padding:0 8px 0 4px}
|
.CodeMirror-linenumber{padding:0 8px 0 4px}
|
||||||
.CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px}
|
.CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px}
|
||||||
.CodeMirror pre{padding:0;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
|
.CodeMirror pre{padding:0;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
|
||||||
|
.CodeMirror-vscrollbar,.CodeMirror-hscrollbar{display:none !important}
|
||||||
pre code{display:block;padding:.5em}
|
pre code{display:block;padding:.5em}
|
||||||
.highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000}
|
.highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000}
|
||||||
.highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121}
|
.highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121}
|
||||||
|
Loading…
Reference in New Issue
Block a user