Merge pull request #7734 from minrk/inner-cell-ff

scrolling workaround for Firefox
This commit is contained in:
Thomas Kluyver 2015-02-10 17:52:50 -08:00
commit 1a5283dee9
3 changed files with 18 additions and 0 deletions

View File

@ -54,6 +54,14 @@ div.inner_cell {
.box-flex1();
}
@-moz-document url-prefix() {
div.inner_cell {
// hack around FF bug causing cell to expand when lines are long
// instead of scrolling
overflow-x: hidden;
}
}
/* input_area and input_prompt must match in top border and margin for alignment */
div.input_area {
border: 1px solid @light_border_color;

View File

@ -420,6 +420,11 @@ div.inner_cell {
/* Modern browsers */
flex: 1;
}
@-moz-document url-prefix() {
div.inner_cell {
overflow-x: hidden;
}
}
/* input_area and input_prompt must match in top border and margin for alignment */
div.input_area {
border: 1px solid #cfcfcf;

View File

@ -9196,6 +9196,11 @@ div.inner_cell {
/* Modern browsers */
flex: 1;
}
@-moz-document url-prefix() {
div.inner_cell {
overflow-x: hidden;
}
}
/* input_area and input_prompt must match in top border and margin for alignment */
div.input_area {
border: 1px solid #cfcfcf;