diff --git a/notebook/static/base/less/page.less b/notebook/static/base/less/page.less index 7a51af6a8..8bac02806 100644 --- a/notebook/static/base/less/page.less +++ b/notebook/static/base/less/page.less @@ -27,6 +27,10 @@ body > #header { z-index: 100; #header-container { + display: flex; + flex-direction: row; + justify-content: space-between; + padding: 5px; padding-bottom: 5px; padding-top: 5px; .border-box-sizing(); @@ -57,9 +61,6 @@ body > #header { padding-left: 0px; padding-top: (@navbar-height - @logo_height) / 2; padding-bottom: (@navbar-height - @logo_height) / 2; - @media (max-width: @screen-sm-max){ - margin-left: 10px; - } } @@ -99,8 +100,12 @@ input.ui-button { padding: 0.3em 0.9em; } +span#kernel_logo_widget { + margin: 0 10px; +} + span#login_widget { - float: right; + } span#login_widget > .button, diff --git a/notebook/static/notebook/less/kernelselector.less b/notebook/static/notebook/less/kernelselector.less index 33c68a34c..fab2cf745 100644 --- a/notebook/static/notebook/less/kernelselector.less +++ b/notebook/static/notebook/less/kernelselector.less @@ -1,6 +1,4 @@ #kernel_logo_widget { - .pull-right(); - .current_kernel_logo { display: none; .navbar-vertical-align(32px); diff --git a/notebook/static/notebook/less/savewidget.less b/notebook/static/notebook/less/savewidget.less index 7d3835f53..13f76b4d4 100644 --- a/notebook/static/notebook/less/savewidget.less +++ b/notebook/static/notebook/less/savewidget.less @@ -4,7 +4,8 @@ span.save_widget { display: flex; justify-content: flex-start; align-items: baseline; - width: calc(~"100% - 210px"); + width: 50%; + flex: 1; span.filename { height: 100%; diff --git a/notebook/templates/notebook.html b/notebook/templates/notebook.html index 53e5ebbb4..b86397192 100644 --- a/notebook/templates/notebook.html +++ b/notebook/templates/notebook.html @@ -36,7 +36,7 @@ data-notebook-path="{{notebook_path | urlencode}}" {% block headercontainer %} - + diff --git a/notebook/templates/page.html b/notebook/templates/page.html index e40b3147b..147f9a9d2 100644 --- a/notebook/templates/page.html +++ b/notebook/templates/page.html @@ -120,6 +120,9 @@ dir="ltr">
+ {% block headercontainer %} + {% endblock %} + {% block header_buttons %} {% block login_widget %} @@ -135,9 +138,7 @@ dir="ltr"> {% endblock %} {% endblock header_buttons %} - - {% block headercontainer %} - {% endblock %} +