mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 19:33:24 +00:00
adjusted modal background and download preview
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user