mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
use hbox mixin instead of class
this will allow dynamic css in nbviewer like vbox-ing for low res without JS or change in html
This commit is contained in:
parent
29b2d7ff95
commit
947c32bfc4
@ -114,7 +114,7 @@ var IPython = (function (IPython) {
|
||||
|
||||
this.celltoolbar = new IPython.CellToolbar(this);
|
||||
|
||||
var input = $('<div></div>').addClass('input hbox');
|
||||
var input = $('<div></div>').addClass('input');
|
||||
var vbox = $('<div/>').addClass('vbox box-flex1')
|
||||
input.append($('<div/>').addClass('prompt input_prompt'));
|
||||
vbox.append(this.celltoolbar.element);
|
||||
|
@ -207,6 +207,7 @@ div.prompt {
|
||||
|
||||
div.input {
|
||||
page-break-inside: avoid;
|
||||
.hbox();
|
||||
}
|
||||
|
||||
/* input_area and input_prompt must match in top border and margin for alignment */
|
||||
|
Loading…
Reference in New Issue
Block a user