Download pdf (#1017)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov 2022-02-15 15:06:33 +06:00 committed by GitHub
parent 1daa3e349c
commit a9d7fc67dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@
<div class="flex-between footer"> <div class="flex-between footer">
<div class="flex-row-reverse"> <div class="flex-row-reverse">
<Button label={presentation.string.Download} primary /> <a class="no-line ml-4" href={getFileUrl(file)} download={name}><Button label={presentation.string.Download} primary /></a>
<Button label={presentation.string.Delete} /> <Button label={presentation.string.Delete} />
</div> </div>
<div class="flex-row-center"> <div class="flex-row-center">
@ -120,9 +120,6 @@
height: 6rem; height: 6rem;
min-height: 6rem; min-height: 6rem;
color: #1F212B; color: #1F212B;
:global(button + button) { margin-right: 1rem; }
:global(.icon-button + .icon-button) { margin-left: .5rem; }
} }
} }
</style> </style>