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