From 35c98ebb979b1db3b8d1f3004463f0ece8f291f0 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Sun, 23 Mar 2025 16:35:19 +0100 Subject: [PATCH] Corrected Display for Created Documents --- pages/createDocument/edit/[[id]].vue | 8 +++++++- pages/createDocument/show/[id].vue | 16 ++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/pages/createDocument/edit/[[id]].vue b/pages/createDocument/edit/[[id]].vue index e5c6799..7c230d2 100644 --- a/pages/createDocument/edit/[[id]].vue +++ b/pages/createDocument/edit/[[id]].vue @@ -2569,7 +2569,7 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = { :data="uri" v-if="showDocument" type="application/pdf" - class="w-full previewDocument" + class="w-full previewDocumentMobile" /> @@ -2598,7 +2598,13 @@ td { border: 1px solid #69c350; }*/ +.previewDocumentMobile { + aspect-ratio: 1 / 1.414; + +} + .previewDocument { height: 80vh; + } \ No newline at end of file diff --git a/pages/createDocument/show/[id].vue b/pages/createDocument/show/[id].vue index 200030a..6953f1b 100644 --- a/pages/createDocument/show/[id].vue +++ b/pages/createDocument/show/[id].vue @@ -170,22 +170,14 @@ const openEmail = () => { - - - - - - - - - \ No newline at end of file