mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
move styling from js to css
This commit is contained in:
parent
09e866a750
commit
a97f4f69cc
@ -84,8 +84,8 @@ define([
|
||||
var input_area = $('<div/>').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 = $('<div/>').addClass('text_cell_render border-box-sizing').
|
||||
addClass('rendered_html').attr('tabindex','-1');
|
||||
var render_area = $('<div/>').addClass('text_cell_render rendered_html')
|
||||
.attr('tabindex','-1');
|
||||
inner_cell.append(input_area).append(render_area);
|
||||
cell.append(inner_cell);
|
||||
this.element = cell;
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user