adjusted modal background and download preview
This commit is contained in:
parent
694e05f738
commit
47d75d8220
4 changed files with 9 additions and 11 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue