From e35f56660915fa87f6c5f98a33ceff980c863bd8 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 20 Mar 2009 14:07:58 -0700 Subject: [PATCH] Better spacing around file upload instructions. --- static/css/style.css | 4 ++++ static/js/Wiki.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index 38b4d64..0199edb 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1245,6 +1245,10 @@ h1 { font-size: 110%; } +.upload_instructions { + margin-top: 0.75em; +} + #progress_row { margin-top: 0.75em; } diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 2e90086..8c15af5 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -3655,7 +3655,7 @@ function Upload_pulldown( wiki, notebook_id, invoker, editor, link, anchor, ephe ) ); this.upload_button.disabled = true; - appendChildNodes( this.upload_area, createDOM( "p", {}, + appendChildNodes( this.upload_area, createDOM( "div", { "class": "upload_instructions" }, this.link ? "Please select a file to upload." : "Please select a CSV file of notes to import into a new notebook." ) ); appendChildNodes( this.upload_area, createDOM( "span", { "id": "tick_preload" } ) ); appendChildNodes( this.upload_area, createDOM( "input", { "name": "file_id", "id": "file_id", "type": "hidden", "value": "new" } ) );