diff --git a/web/app/components/workflow/header/online-users.tsx b/web/app/components/workflow/header/online-users.tsx index 27abb88747..234d1c9b9a 100644 --- a/web/app/components/workflow/header/online-users.tsx +++ b/web/app/components/workflow/header/online-users.tsx @@ -103,9 +103,17 @@ const OnlineUsers = () => { } return ( -
-
-
+
+
+
{visibleUsers.map((user, index) => { const isCurrentUser = user.user_id === currentUserId const userColor = isCurrentUser ? undefined : getUserColor(user.user_id) @@ -126,7 +134,8 @@ const OnlineUsers = () => { >
0 && '-ml-1.5', !isCurrentUser && 'cursor-pointer transition-transform hover:scale-110', )} style={{ zIndex: visibleUsers.length - index }} @@ -135,8 +144,8 @@ const OnlineUsers = () => {
@@ -157,24 +166,34 @@ const OnlineUsers = () => { onClick={() => setDropdownOpen(prev => !prev)} asChild > -
+
0 && '-ml-1', )} > +{remainingCount}
- +
-
+
{onlineUsers.map((user) => { const isCurrentUser = user.user_id === currentUserId const userColor = isCurrentUser ? undefined : getUserColor(user.user_id)