From f5495d64a9b819a3939bd01f0546197d87fa2879 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 6 Aug 2022 08:25:31 -0500 Subject: [PATCH] Update:Show resolution under covers in covers tab #885 --- client/components/covers/BookCover.vue | 3 +++ client/components/covers/PreviewCover.vue | 9 +++++++-- client/components/modals/item/tabs/Cover.vue | 6 +++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/client/components/covers/BookCover.vue b/client/components/covers/BookCover.vue index 069650ef..838611ea 100644 --- a/client/components/covers/BookCover.vue +++ b/client/components/covers/BookCover.vue @@ -125,6 +125,9 @@ export default { }, userToken() { return this.$store.getters['user/getToken'] + }, + resolution() { + return `${this.naturalWidth}x${this.naturalHeight}px` } }, methods: { diff --git a/client/components/covers/PreviewCover.vue b/client/components/covers/PreviewCover.vue index 4d513620..4803d5b8 100644 --- a/client/components/covers/PreviewCover.vue +++ b/client/components/covers/PreviewCover.vue @@ -1,6 +1,6 @@ @@ -54,6 +56,9 @@ export default { }, placeholderCoverPadding() { return 0.8 * this.sizeMultiplier + }, + resolution() { + return `${this.naturalWidth}x${this.naturalHeight}px` } }, methods: { diff --git a/client/components/modals/item/tabs/Cover.vue b/client/components/modals/item/tabs/Cover.vue index 52b2759f..beb34dbb 100644 --- a/client/components/modals/item/tabs/Cover.vue +++ b/client/components/modals/item/tabs/Cover.vue @@ -31,9 +31,9 @@
@@ -58,7 +58,7 @@

No Covers Found