From b2d9e568f4ded6bd0631769fb487fee868b308c9 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Sun, 4 Jun 2023 19:50:49 +0600 Subject: [PATCH] Issue[#323]: click image to enlarge --- assets/css/tailwind.css | 5 +++++ components/TProfile.vue | 8 +++++++- nuxt.config.js | 1 + package.json | 1 + plugins/enlarge.js | 5 +++++ yarn.lock | 5 +++++ 6 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 plugins/enlarge.js diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index 3c82a16a..3dc9bcb8 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -111,6 +111,7 @@ html { min-width: 10rem; } +<<<<<<< HEAD .typo { /* These are technically the same, but use both */ overflow-wrap: break-word; @@ -127,6 +128,10 @@ html { -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; +======= +.enlargeable-image > .slot > img.default { + border-radius: 50%; +>>>>>>> a7a58bd (Issue[#323]: click image to enlarge) } /* purgecss end ignore */ diff --git a/components/TProfile.vue b/components/TProfile.vue index 13393f25..39430a6a 100644 --- a/components/TProfile.vue +++ b/components/TProfile.vue @@ -57,13 +57,19 @@ +<<<<<<< HEAD
+
+ >>>>>> a7a58bd (Issue[#323]: click image to enlarge) v-if="profile.photo" :src="profile.photo" + :src_large="profile.photo" :alt="profile.username" - class="w-full rounded-full" />