adjusted modal background and download preview

This commit is contained in:
Danny Coates 2019-02-21 16:43:15 -08:00
parent 694e05f738
commit 47d75d8220
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 9 additions and 11 deletions

View file

@ -447,7 +447,8 @@ module.exports.preview = function(state, emit) {
archive.open = true;
}
return html`
<send-archive class="flex flex-col max-h-full bg-white rounded shadow-light p-4 w-full md:w-4/5">
<send-archive class="flex flex-col max-h-full bg-white p-4 w-full md:w-128">
<div class="border rounded py-3 px-6">
<p class="w-full mb-4">
<img class="float-left mr-3" src="${assets.get('blue_file.svg')}"/>
<h1 class="text-sm font-medium word-break-all">${archive.name}</h1>
@ -458,6 +459,7 @@ module.exports.preview = function(state, emit) {
<div class="h-full md:h-48 overflow-y-auto">
${archiveDetails(state.translate, archive)}
</div>
</div>
<button
id="download-btn"
class="btn rounded-lg mt-4 w-full flex-no-shrink focus:outline"