From 660ddf76afc88b987fd61ae9643f8fe40aa0c8da Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Sun, 20 Jul 2014 17:41:17 +0200 Subject: [PATCH] move tolbar styling to css --- IPython/html/static/notebook/js/toolbar.js | 3 +-- IPython/html/static/notebook/less/toolbar.less | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/IPython/html/static/notebook/js/toolbar.js b/IPython/html/static/notebook/js/toolbar.js index 3b313eeb4..924368caa 100644 --- a/IPython/html/static/notebook/js/toolbar.js +++ b/IPython/html/static/notebook/js/toolbar.js @@ -79,8 +79,7 @@ define([ }; ToolBar.prototype.style = function () { - this.element.addClass('border-box-sizing') - .addClass('toolbar'); + this.element.addClass('toolbar'); }; /** diff --git a/IPython/html/static/notebook/less/toolbar.less b/IPython/html/static/notebook/less/toolbar.less index 7b160b28c..26f7cf67e 100644 --- a/IPython/html/static/notebook/less/toolbar.less +++ b/IPython/html/static/notebook/less/toolbar.less @@ -18,6 +18,8 @@ .btn { padding: 2px 8px; } + + .border-box-sizing(); } .toolbar .btn-group { @@ -40,7 +42,7 @@ text-align: right; margin-left: 5px; margin-right: 0px; - margin-top: 0px + margin-top: 0px; } .toolbar {