diff options
| author | James Mills <prologic@shortcircuit.net.au> | 2020-03-27 21:26:13 +1000 |
|---|---|---|
| committer | James Mills <prologic@shortcircuit.net.au> | 2020-03-27 21:26:13 +1000 |
| commit | f4afd2eb6be4bdf6236c6e410d1c3846f2b6e685 (patch) | |
| tree | d84d2aa47866ab49a13d46c253b07cb6cb26b130 /static | |
| parent | 299df65290ef028a997bcfed888b2230ee750f36 (diff) | |
Add some minor UI tweaks
Diffstat (limited to 'static')
| -rw-r--r-- | static/upload.css | 4 | ||||
| -rw-r--r-- | static/upload.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/static/upload.css b/static/upload.css index c2ded20..194d3d0 100644 --- a/static/upload.css +++ b/static/upload.css @@ -26,7 +26,7 @@ justify-content: center;
align-items: center;
min-width: 300px;
- min-height: 300px;
+ min-height: 200px;
}
.upload-box span {
@@ -155,4 +155,4 @@ -webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
-}
\ No newline at end of file +}
diff --git a/static/upload.js b/static/upload.js index 457f01e..468cae0 100644 --- a/static/upload.js +++ b/static/upload.js @@ -109,7 +109,7 @@ document.addEventListener('DOMContentLoaded', () => { }, false) const labelClicked = (e) => { - if (uploadInProgress === true) { + if (uploadInProgress === true || file != null) { e.preventDefault() return false } |
