Corrected Display for Created Documents

This commit is contained in:
2025-03-23 16:35:19 +01:00
parent 6cb9653dea
commit 35c98ebb97
2 changed files with 11 additions and 13 deletions

View File

@@ -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"
/>
</div>
@@ -2598,7 +2598,13 @@ td {
border: 1px solid #69c350;
}*/
.previewDocumentMobile {
aspect-ratio: 1 / 1.414;
}
.previewDocument {
height: 80vh;
}
</style>

View File

@@ -170,22 +170,14 @@ const openEmail = () => {
<UDashboardPanelContent>
<object
:data="linkedDocument.url"
class="h-full"
class="w-full previewDocumentMobile"
/>
</UDashboardPanelContent>
<!-- <DocumentDisplay
:document-data="dataStore.documents.find(i => i.createdDocument === itemInfo.id)"
/>-->
</template>
<style scoped>
.previewDocumentMobile {
aspect-ratio: 1 / 1.414;
}
</style>