diff options
| -rw-r--r-- | css/sally.css | 3 | ||||
| -rw-r--r-- | index.html | 12 | ||||
| -rw-r--r-- | 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; } @@ -59,11 +59,13 @@ <button id="import_button">import colorcode</button> <button id="import_html">import sally</button> </span> - <input id="username_input" type="text" placeholder="username"> - <input id="upload_input" type="text" placeholder="uploaded url"> - <button id="export_button">export</button> - <button id="save_button">save</button> - <button id="upload_button">upload</button><br> + <div id="gallery_wrapper"> + <input id="username_input" type="text" placeholder="username"> + <input id="upload_input" type="text" placeholder="uploaded url"> + <button id="export_button">export</button> + <button id="save_button">save</button> + <button id="upload_button">upload</button> + </div><br> <textarea id="import_textarea"></textarea> </div> 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() }, |
