diff --git a/IPython/html/static/base/js/dialog.js b/IPython/html/static/base/js/dialog.js
index e81a4be..d71c324 100644
--- a/IPython/html/static/base/js/dialog.js
+++ b/IPython/html/static/base/js/dialog.js
@@ -50,7 +50,7 @@ IPython.dialog = (function (IPython) {
for (var label in options.buttons) {
var btn_opts = options.buttons[label];
var button = $("")
- .addClass("btn btn-default")
+ .addClass("btn btn-default btn-sm")
.attr("data-dismiss", "modal")
.text(label);
if (btn_opts.click) {
diff --git a/IPython/html/static/base/less/variables.less b/IPython/html/static/base/less/variables.less
index 9e0708e..3b10b1f 100644
--- a/IPython/html/static/base/less/variables.less
+++ b/IPython/html/static/base/less/variables.less
@@ -7,11 +7,7 @@
@navbar-height: 36px;
@breadcrumb-color: darken(@border_color, 30%);
@blockquote-font-size: inherit;
-
-// Override the modal footer padding that BS3 uses.
-.modal-footer {
- padding: 7px;
-}
+@modal-inner-padding: 15px;
// Disable modal slide-in from top animation.
.modal {
diff --git a/IPython/html/static/notebook/less/celltoolbar.less b/IPython/html/static/notebook/less/celltoolbar.less
index bb4ed98..f1b11e1 100644
--- a/IPython/html/static/notebook/less/celltoolbar.less
+++ b/IPython/html/static/notebook/less/celltoolbar.less
@@ -40,6 +40,7 @@
.celltoolbar select {
font-size: 87%;
+ height: 22px;
}
.celltoolbar label {