diff --git a/src/common/component/User/index.tsx b/src/common/component/User/index.tsx index 6288f491..b49a0f44 100644 --- a/src/common/component/User/index.tsx +++ b/src/common/component/User/index.tsx @@ -45,9 +45,9 @@ const User: FC = ({ const online = curr.online || curr.uid == loginUid; const containerClass = clsx(`relative flex items-center justify-start gap-2 rounded-lg select-none`, interactive && "md:hover:bg-gray-500/10", compact ? "p-0" : "p-2"); const nameClass = clsx(`text-sm text-gray-500 max-w-[190px] truncate font-semibold dark:text-white`); - const statusClass = clsx(`absolute -bottom-0.5 -right-1.5 w-3 h-3 box-content rounded-full border-[2px] border-solid border-white dark:border-gray-300`, + const statusClass = clsx(`absolute -bottom-[2.5px] -right-[2.5px] border-content rounded-full border-[1px] border-solid border-white dark:border-gray-300`, online ? "bg-green-500" : "bg-zinc-400", - compact && "w-3.5 h-3.5"); + compact ? "w-[15px] h-[15px]" : "w-3 h-3"); if (!popover) return ( = ({ )} {owner && } - {curr.is_bot && } + {curr.is_bot && } );