refactor: improve UI
This commit is contained in:
parent
1771291c08
commit
889b4b8a00
12 changed files with 54 additions and 39 deletions
|
@ -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'">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue