refactor: improve UI

This commit is contained in:
三咲智子 2022-11-23 22:39:48 +08:00
parent 1771291c08
commit 889b4b8a00
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
12 changed files with 54 additions and 39 deletions

View file

@ -17,7 +17,7 @@ async function toggleFollow() {
<template>
<button
v-if="!isSelf && relationship"
flex gap-1 items-center w-full rounded hover="op100 text-white b-purple" group
flex gap-1 items-center h-fit rounded hover="op100 text-white b-purple" group
@click="toggleFollow"
>
<div rounded w-28 p2 :group-hover="relationship?.following ? 'bg-red/30' : 'bg-purple/30'" :class="!relationship?.following ? 'bg-cyan/10' : ' bg-purple/10'">