From 9cb98cd84366a4e2d8597c5eae7767eb93fbeabf Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Tue, 6 Oct 2015 16:27:18 -0400 Subject: [PATCH] Make the subarea not have a scrollbar when the enclosing output area already provides scrollbars Fixes #254 --- notebook/static/notebook/less/outputarea.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/notebook/static/notebook/less/outputarea.less b/notebook/static/notebook/less/outputarea.less index 6ba89760a..b44cd7cf5 100644 --- a/notebook/static/notebook/less/outputarea.less +++ b/notebook/static/notebook/less/outputarea.less @@ -110,6 +110,11 @@ div.output_subarea { max-width: calc(~"100% - 14ex"); } +div.output_scroll div.output_subarea { + // if the output area is scrolling, we don't need scrollbars on the subarea + overflow-x: visible; +} + /* The rest of the output_* classes are for special styling of the different output types */