scrolling workaround for Firefox

setting overflow-x: hidden on Firefox prevents
long input from growing the cell ever wider on Firefox.

CSS is only applied on Firefox
pull/37/head
Min RK 11 years ago
parent 4ec038db1b
commit 7bbdabdfd5

@ -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;

@ -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;

@ -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;

Loading…
Cancel
Save