From 3403c96b645f89e8b260cef69a4513208c88e9bf 2015-03-29 21:06:13 From: Min RK Date: 2015-03-29 21:06:13 Subject: [PATCH] scroll overflow-x on rendered markdown treat markdown the same as output --- diff --git a/IPython/html/static/notebook/less/textcell.less b/IPython/html/static/notebook/less/textcell.less index d254378..d474969 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 e13223a..40aae71 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 e14bbe3..5b52663 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; }