Use flexbox to center images and video

This commit is contained in:
2022-10-25 12:13:50 +02:00
parent 01f407e4b1
commit 64d0b364ba
5 changed files with 31 additions and 25 deletions

View File

@@ -569,6 +569,7 @@ const keyboard_event = evt => {
{#if view === "file"}
<FilePreview
bind:this={file_preview}
is_list={is_list}
on:download={downloader.download_file}
on:prev={() => { if (list_navigator) { list_navigator.prev() }}}
on:next={() => { if (list_navigator) { list_navigator.next() }}}