diff --git a/IPython/html/static/notebook/js/textcell.js b/IPython/html/static/notebook/js/textcell.js index 22db8a4..148b771 100644 --- a/IPython/html/static/notebook/js/textcell.js +++ b/IPython/html/static/notebook/js/textcell.js @@ -84,8 +84,8 @@ define([ var input_area = $('
').addClass('input_area'); this.code_mirror = new CodeMirror(input_area.get(0), this.cm_config); // The tabindex=-1 makes this div focusable. - var render_area = $('
').addClass('text_cell_render border-box-sizing'). - addClass('rendered_html').attr('tabindex','-1'); + var render_area = $('
').addClass('text_cell_render rendered_html') + .attr('tabindex','-1'); inner_cell.append(input_area).append(render_area); cell.append(inner_cell); this.element = cell; diff --git a/IPython/html/static/notebook/less/textcell.less b/IPython/html/static/notebook/less/textcell.less index 9d0e7f7..8721423 100644 --- a/IPython/html/static/notebook/less/textcell.less +++ b/IPython/html/static/notebook/less/textcell.less @@ -17,6 +17,7 @@ div.text_cell_render { border-style: none; padding: 0.5em 0.5em 0.5em @code_padding; color: @text-color; + .border-box-sizing(); } a.anchor-link:link {