From 2af1fec42529f6fc46edb106623a041464edf237 Mon Sep 17 00:00:00 2001 From: wheat Date: Wed, 11 Jan 2023 03:39:49 -0500 Subject: [PATCH] feat: use square avatar when on own profile (#961) --- components/account/AccountHeader.vue | 4 ++-- styles/global.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index 031c2573..9e9f9c7a 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -70,8 +70,8 @@ const isSelf = $computed(() => currentUser.value?.account.id === account.id)
-
diff --git a/styles/global.css b/styles/global.css index caaf0321..41b70f06 100644 --- a/styles/global.css +++ b/styles/global.css @@ -232,3 +232,7 @@ footer { --at-apply: 'hover:underline'; } } + +.squircle { + clip-path: url(#avatar-mask); +}