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 fe37e1980..13f76b4d4 100644 --- a/notebook/static/notebook/less/savewidget.less +++ b/notebook/static/notebook/less/savewidget.less @@ -1,12 +1,15 @@ span.save_widget { - margin-top: 6px; - max-width: 100%; + height: 30px; + margin-top: 4px; display: flex; + justify-content: flex-start; + align-items: baseline; + width: 50%; + flex: 1; span.filename { - height: 1em; + height: 100%; line-height: 1em; - padding: 3px; margin-left: @padding-large-horizontal; border: none; font-size: 146.5%; diff --git a/notebook/templates/notebook.html b/notebook/templates/notebook.html index dfa9610e6..faa82cd87 100644 --- a/notebook/templates/notebook.html +++ b/notebook/templates/notebook.html @@ -38,7 +38,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 %} +