Skip to content

Commit

Permalink
remove Firefox-specific CSS workaround
Browse files Browse the repository at this point in the history
The bug being worked around appears to be fixed either in CodeMirror or Firefox (tested with FF 29).

Importantly, the workaround appears to *introduce* incorrect behavior

closes ipython#5192
closes ipython#5364
  • Loading branch information
minrk committed May 12, 2014
1 parent 2223e83 commit 0c77f83
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions IPython/html/static/notebook/less/codemirror.less
Expand Up @@ -22,14 +22,6 @@
overflow-x: auto;
}

@-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 {
overflow-x: hidden;
}
}

.CodeMirror-lines {
/* In CM2, this used to be 0.4em, but in CM3 it went to 4px. We need the em value because */
/* we have set a different line-height and want this to scale with that. */
Expand Down
2 changes: 1 addition & 1 deletion IPython/html/static/style/ipython.min.css

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

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 0c77f83

Please sign in to comment.