Skip to content

Commit

Permalink
Merge pull request #5280 from jdfreder/ff_cmurlpref
Browse files Browse the repository at this point in the history
append Firefox overflow-x fix
  • Loading branch information
minrk committed Mar 5, 2014
2 parents a5c527b + e074b9d commit 36df57d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IPython/html/static/notebook/less/codemirror.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
overflow-x: auto;
}

@-moz-document {
@-moz-document url-prefix() {
/* Firefox does weird and terrible things (#3549) when overflow-x is auto */
/* It doesn't respect the overflow setting anyway, so we can workaround it with this */
.CodeMirror-scroll {
Expand Down
2 changes: 1 addition & 1 deletion IPython/html/static/style/ipython.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizon
div.input_prompt{color:#000080;border-top:1px solid transparent}
.CodeMirror{line-height:1.231em;height:auto;background:none;}
.CodeMirror-scroll{overflow-y:hidden;overflow-x:auto}
@-moz-document {.CodeMirror-scroll{overflow-x:hidden}}.CodeMirror-lines{padding:.4em}
@-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden}}.CodeMirror-lines{padding:.4em}
.CodeMirror-linenumber{padding:0 8px 0 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}
Expand Down
2 changes: 1 addition & 1 deletion IPython/html/static/style/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 36df57d

Please sign in to comment.