diff --git a/src/script.js b/src/script.js index 375e264..56095ca 100755 --- a/src/script.js +++ b/src/script.js @@ -33,11 +33,6 @@ const prependPath = a => a.startsWith('/') ? a : decodeURI(location.pathname) + const prevent = e => e.preventDefault() const flicker = w => w.classList.remove('runFade') || void w.offsetWidth || w.classList.add('runFade') -// Add upload icon on phones -if (typeof window.orientation !== 'undefined') { - icHolder.innerHTML = '
' + icHolder.innerHTML -} - // Manual upload manualUpload.addEventListener('change', () => Array.from(manualUpload.files).forEach(f => isDupe(f.name) || postFile(f, '/' + f.name)), false) diff --git a/src/style.css b/src/style.css index 86ed89c..56e87ca 100644 --- a/src/style.css +++ b/src/style.css @@ -17,6 +17,9 @@ body { margin-left: 10px !important; } + .ic { + display: inherit !important; + } } html { @@ -93,7 +96,10 @@ td.display-name { h1 { display: inline-block; - margin-top: 20px; + margin-top: 30px; + word-wrap: break-word; + width: 80%; + margin-bottom: 28px; } #icHolder { diff --git a/src/template.go b/src/template.go index 53dad75..9336464 100644 --- a/src/template.go +++ b/src/template.go @@ -24,6 +24,7 @@

.{{.Title}}

+