fixing problem with status thing with span vs div
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user