diff --git a/frontend/src/css/styles.css b/frontend/src/css/styles.css index 8eed50fc..f8d4ef9d 100644 --- a/frontend/src/css/styles.css +++ b/frontend/src/css/styles.css @@ -269,7 +269,7 @@ main .spinner .bounce2 { #previewer .pdf { width: 100%; height: 100%; - margin-top: 4em; + padding-top: 4em; } #previewer h2.message { diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index 879ca69d..3e63768b 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -6,7 +6,7 @@ @mousemove="toggleNavigation" @touchstart="toggleNavigation" > - + {{ name }} - +
feedback @@ -189,6 +185,8 @@ const raw = computed(() => { return downloadUrl.value; }); +const isPdf = computed(() => fileStore.req?.extension.toLowerCase() == ".pdf"); + const isResizeEnabled = computed(() => resizePreview); const subtitles = computed(() => {