From d56bce3596a6d06e59eceaa0336aa0ea46ab7858 Mon Sep 17 00:00:00 2001 From: timb Date: Wed, 5 Aug 2015 10:20:10 -0700 Subject: hide save ui in load mode --- css/sally.css | 3 +++ index.html | 12 +++++++----- js/clipboard.js | 8 +++++--- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/css/sally.css b/css/sally.css index db46136..16cd858 100644 --- a/css/sally.css +++ b/css/sally.css @@ -39,6 +39,9 @@ a:link, a:visited {text-decoration: none; color: #3b3740} white-space:pre-wrap; word-wrap: break-word; } +#gallery_wrapper { + display: inline +} .block { padding:4px; } diff --git a/index.html b/index.html index 0debfcf..26263b0 100644 --- a/index.html +++ b/index.html @@ -59,11 +59,13 @@ - - - - -
+
diff --git a/js/clipboard.js b/js/clipboard.js index 6016678..d6e5c4e 100644 --- a/js/clipboard.js +++ b/js/clipboard.js @@ -41,15 +41,17 @@ var clipboard = (function () { import_mode: function () { focus() clipboard.importing = true - import_buttons.style.display = "inline-block" - export_button.style.display = format_group.style.display = "none" + gallery_wrapper.style.display = 'none' + format_el.style.display = 'none' + import_buttons.style.display = "inline" import_textarea.value = "" }, export_mode: function () { focus() clipboard.importing = false import_buttons.style.display = "none" - // export_button.style.display = format_group.style.display = "inline-block" + format_el.style.display = 'inline' + gallery_wrapper.style.display = 'inline' clipboard.export_data() }, -- cgit v1.2.3-70-g09d2