##// END OF EJS Templates
remove more hard coded layout
Matthias BUSSONNIER -
Show More
@@ -34,7 +34,7 b' var IPython = (function (IPython) {'
34
34
35
35
36 CellToolbar.prototype.create_element = function () {
36 CellToolbar.prototype.create_element = function () {
37 this.inner_element = $('<div/>').addClass('celltoolbar hbox reverse')
37 this.inner_element = $('<div/>').addClass('celltoolbar')
38 this.element = $('<div/>').addClass('ctb_hideshow')
38 this.element = $('<div/>').addClass('ctb_hideshow')
39 .append(this.inner_element);
39 .append(this.inner_element);
40 };
40 };
@@ -57,7 +57,7 b' var IPython = (function (IPython) {'
57 this.prompt_overlay.hide();
57 this.prompt_overlay.hide();
58
58
59 this.wrapper.addClass('output_wrapper');
59 this.wrapper.addClass('output_wrapper');
60 this.element.addClass('output vbox');
60 this.element.addClass('output');
61
61
62 this.collapse_button.addClass("btn output_collapsed");
62 this.collapse_button.addClass("btn output_collapsed");
63 this.collapse_button.attr('title', 'click to expand output');
63 this.collapse_button.attr('title', 'click to expand output');
@@ -10,6 +10,8 b''
10 width:100%;
10 width:100%;
11 -webkit-box-pack: end;
11 -webkit-box-pack: end;
12 height:22px;
12 height:22px;
13 .hbox();
14 .reverse();
13 }
15 }
14
16
15
17
@@ -26,6 +26,10 b' div.output_area {'
26
26
27 /* This is needed to protect the pre formating from global settings such
27 /* This is needed to protect the pre formating from global settings such
28 as that of bootstrap */
28 as that of bootstrap */
29 .output {
30 .vbox();
31 }
32
29 div.output_area pre {
33 div.output_area pre {
30 font-family: @monoFontFamily;
34 font-family: @monoFontFamily;
31 margin: 0;
35 margin: 0;
@@ -112,4 +116,4 b' input.raw_input {'
112
116
113 p.p-space {
117 p.p-space {
114 margin-bottom: 10px;
118 margin-bottom: 10px;
115 } No newline at end of file
119 }
@@ -2,7 +2,7 b''
2
2
3
3
4 {% block codecell %}
4 {% block codecell %}
5 <div class="cell border-box-sizing code_cell vbox">
5 <div class="cell border-box-sizing code_cell">
6 {{ super() }}
6 {{ super() }}
7 </div>
7 </div>
8 {%- endblock codecell %}
8 {%- endblock codecell %}
@@ -15,7 +15,7 b''
15
15
16 {% block output_group %}
16 {% block output_group %}
17 <div class="output_wrapper">
17 <div class="output_wrapper">
18 <div class="output vbox">
18 <div class="output">
19 {{ super() }}
19 {{ super() }}
20 </div>
20 </div>
21 </div>
21 </div>
General Comments 0
You need to be logged in to leave comments. Login now