From 0e6aa1b2fb82471bafde19755dd2aa01cbebb962 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 27 Mar 2015 14:36:49 -0700 Subject: [PATCH] scroll overflow-x on rendered markdown treat markdown the same as output --- IPython/html/static/notebook/less/textcell.less | 4 ++++ IPython/html/static/style/ipython.min.css | 3 +++ IPython/html/static/style/style.min.css | 3 +++ 3 files changed, 10 insertions(+) diff --git a/IPython/html/static/notebook/less/textcell.less b/IPython/html/static/notebook/less/textcell.less index d25437859..d47496940 100644 --- a/IPython/html/static/notebook/less/textcell.less +++ b/IPython/html/static/notebook/less/textcell.less @@ -35,6 +35,10 @@ h1,h2,h3,h4,h5,h6 { display: none; } +.text_cell.rendered .rendered_html { + overflow-x: auto; +} + .text_cell.unrendered .text_cell_render { display:none; } diff --git a/IPython/html/static/style/ipython.min.css b/IPython/html/static/style/ipython.min.css index e13223aed..40aae7185 100644 --- a/IPython/html/static/style/ipython.min.css +++ b/IPython/html/static/style/ipython.min.css @@ -1184,6 +1184,9 @@ h6:hover .anchor-link { .text_cell.rendered .input_area { display: none; } +.text_cell.rendered .rendered_html { + overflow-x: auto; +} .text_cell.unrendered .text_cell_render { display: none; } diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index e14bbe325..5b52663ac 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -9976,6 +9976,9 @@ h6:hover .anchor-link { .text_cell.rendered .input_area { display: none; } +.text_cell.rendered .rendered_html { + overflow-x: auto; +} .text_cell.unrendered .text_cell_render { display: none; }