Skip to content

Commit 2aba171

Browse files
committed
Insert flex-box spacer in tree view header
1 parent 3db3e97 commit 2aba171

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

notebook/static/base/less/page.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,14 @@ body > #header {
5858
}
5959

6060
#ipython_notebook {
61-
flex: 1;
6261
padding-left: 0px;
6362
padding-top: (@navbar-height - @logo_height) / 2;
6463
padding-bottom: (@navbar-height - @logo_height) / 2;
6564
}
6665

67-
66+
.flex-spacer {
67+
flex: 1;
68+
}
6869

6970
#noscript {
7071
width: auto;

notebook/templates/tree.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
data-server-root="{{server_root}}"
1212
{% endblock %}
1313

14+
{% block headercontainer %}
15+
<span class="flex-spacer"></span>
16+
{% endblock %}
1417

1518
{% block site %}
1619

0 commit comments

Comments
 (0)