From 6ffe3fe02dc22749ab000eecaf0c427c07df907a Mon Sep 17 00:00:00 2001 From: patak Date: Fri, 2 Dec 2022 22:38:27 +0100 Subject: [PATCH] style: different borders for Following and Mutuals --- components/account/AccountFollowButton.vue | 2 +- unocss.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/account/AccountFollowButton.vue b/components/account/AccountFollowButton.vue index b3765d2c..602a7e1a 100644 --- a/components/account/AccountFollowButton.vue +++ b/components/account/AccountFollowButton.vue @@ -39,7 +39,7 @@ useCommand({ gap-1 items-center group :disabled="relationship?.requested" border-1 - rounded-full flex="~ gap2 center" font-500 w-30 h-fit py1 :class="relationship?.following ? 'text-base border-text-base' : 'text-inverted bg-primary border-primary'" :hover="relationship?.following ? 'border-red text-red' : 'bg-base border-primary text-primary'" @click="toggleFollow" + rounded-full flex="~ gap2 center" font-500 w-30 h-fit py1 :class="relationship?.following ? (`text-base ${relationship?.followedBy ? 'border-strong' : 'border-base'}`) : 'text-inverted bg-primary border-primary'" :hover="relationship?.following ? 'border-red text-red' : 'bg-base border-primary text-primary'" @click="toggleFollow" >