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