From 27f3c224c251b68fabb53b17aec352aa08855bb0 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 23 Dec 2014 23:20:03 +0100 Subject: [PATCH] a few 1 pixel fixes. this uses the same html/css structure acroos the tabs, and reduce the overlay click zone that expended the size of the header to 25px instead of 24px --- IPython/html/static/style/style.min.css | 1 + IPython/html/static/tree/less/altuploadform.less | 1 + IPython/html/templates/tree.html | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index 6d0f47473..88c8b9d72 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -7953,6 +7953,7 @@ span#login_widget > .button .badge, .alternate_upload .input-overlay { display: inline-block; font-weight: bold; + line-height: 1em; } /** * Primary styles diff --git a/IPython/html/static/tree/less/altuploadform.less b/IPython/html/static/tree/less/altuploadform.less index 1ce7c22c1..bc107ff7a 100644 --- a/IPython/html/static/tree/less/altuploadform.less +++ b/IPython/html/static/tree/less/altuploadform.less @@ -25,4 +25,5 @@ .alternate_upload .input-overlay { display: inline-block; font-weight: bold; + line-height:1em; } diff --git a/IPython/html/templates/tree.html b/IPython/html/templates/tree.html index 7768e302c..2dc8b3709 100644 --- a/IPython/html/templates/tree.html +++ b/IPython/html/templates/tree.html @@ -32,7 +32,7 @@ data-terminals-available="{{terminals_available}}"
-
+
To import a notebook, drag the file onto the listing below or @@ -42,6 +42,8 @@ data-terminals-available="{{terminals_available}}"
+
+