fixing problem with status thing with span vs div

This commit is contained in:
talksik
2022-04-01 13:55:24 -04:00
parent a5545a1a8e
commit 3d893e5cf4
@@ -2,7 +2,7 @@ import { User, UserStatus } from "@nirvana/core/models";
export default function UserAvatarWithStatus(props: { user: User }) { export default function UserAvatarWithStatus(props: { user: User }) {
return ( return (
<span className="relative"> <div className="relative">
<img <img
src={props.user.picture} src={props.user.picture}
className="rounded-lg h-8 hover:bg-zinc-200 hover:cursor-pointer hover:scale-110" className="rounded-lg h-8 hover:bg-zinc-200 hover:cursor-pointer hover:scale-110"
@@ -10,7 +10,7 @@ export default function UserAvatarWithStatus(props: { user: User }) {
/> />
<UserStatusBubble status={props.user.status} /> <UserStatusBubble status={props.user.status} />
</span> </div>
); );
} }