refactor(chat): add group-hover accent color transition to chat message username
All checks were successful
Deploy Waveform to VPS / deploy (push) Successful in 2m6s
All checks were successful
Deploy Waveform to VPS / deploy (push) Successful in 2m6s
This commit is contained in:
parent
eedcda43cd
commit
f6023e320a
1 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ export function ChatItem({
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => setIsProfileOpen((prev) => !prev)}
|
onClick={() => setIsProfileOpen((prev) => !prev)}
|
||||||
className="focus:outline-none cursor-pointer shrink-0"
|
className="focus:outline-none cursor-pointer shrink-0 group-hover:scale-105"
|
||||||
>
|
>
|
||||||
<UserAvatar user={user} size="md" />
|
<UserAvatar user={user} size="md" />
|
||||||
</button>
|
</button>
|
||||||
|
|
@ -234,7 +234,7 @@ export function ChatItem({
|
||||||
ref={nameBtnRef}
|
ref={nameBtnRef}
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => setIsProfileOpen((prev) => !prev)}
|
onClick={() => setIsProfileOpen((prev) => !prev)}
|
||||||
className="font-semibold text-white text-sm hover:underline cursor-pointer truncate focus:outline-none text-left"
|
className="font-semibold text-white text-sm group-hover:text-accent cursor-pointer truncate focus:outline-none text-left"
|
||||||
>
|
>
|
||||||
{fullName}
|
{fullName}
|
||||||
{isOwner && (
|
{isOwner && (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue