From 7934f299178c60e8450af2caff93f85f19987f25 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 19 Feb 2016 21:11:40 +0100 Subject: [PATCH] set min-width: 0 Fixes what we thought was a Firefox bug, but Chrome devs have pointed out Firefox was doing it right all along, and all the other browsers were wrong. --- notebook/static/notebook/less/cell.less | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/notebook/static/notebook/less/cell.less b/notebook/static/notebook/less/cell.less index 0de7242b4..76fcb7ad6 100644 --- a/notebook/static/notebook/less/cell.less +++ b/notebook/static/notebook/less/cell.less @@ -97,18 +97,11 @@ div.cell { } div.inner_cell { + min-width: 0; .vbox(); .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;