From 6bff06ae8436a3bad796f3aa13cbdc746c33289e Mon Sep 17 00:00:00 2001 From: C4rnivore Date: Tue, 21 Oct 2025 11:51:47 +0500 Subject: [PATCH] Participants mobile; --- client/src/components/indicators/Warning.tsx | 2 +- .../components/popups/ParticipantsPopup.tsx | 41 ++++++++-- client/src/components/ui/ActionsPopover.tsx | 81 +++++++++++++------ client/src/components/ui/Avatar.tsx | 15 ++-- client/src/components/ui/ControlsPopover.tsx | 2 +- client/src/components/ui/PopoverWrapper.tsx | 10 +-- client/src/pages/HomePage.tsx | 55 +++++++------ 7 files changed, 134 insertions(+), 72 deletions(-) diff --git a/client/src/components/indicators/Warning.tsx b/client/src/components/indicators/Warning.tsx index 33a2cdd..9e45f27 100644 --- a/client/src/components/indicators/Warning.tsx +++ b/client/src/components/indicators/Warning.tsx @@ -10,7 +10,7 @@ export default function Warning({ return (
-
    +
      {participants.map((participant, index) => ( - <> - + + {index !== participants.length - 1 && (
      )} - + ))}
    +
    + {!parentRef && ( + + )} + {options.map((option) => ( ))} diff --git a/client/src/components/ui/Avatar.tsx b/client/src/components/ui/Avatar.tsx index 96d3e94..2a7df1c 100644 --- a/client/src/components/ui/Avatar.tsx +++ b/client/src/components/ui/Avatar.tsx @@ -15,18 +15,21 @@ export default function Avatar({ size, status, src, name }: AvatarProps) {
    {GetAvatarImage(src, name)}
    {status === "caution" && ( diff --git a/client/src/components/ui/ControlsPopover.tsx b/client/src/components/ui/ControlsPopover.tsx index 6c56c1a..1c3b19b 100644 --- a/client/src/components/ui/ControlsPopover.tsx +++ b/client/src/components/ui/ControlsPopover.tsx @@ -54,7 +54,7 @@ function ControlsPopover() {