From db52b6036e4579b669c5791d824354f3dbf8d0ba Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sun, 1 Feb 2026 18:01:24 +0000 Subject: [PATCH] add diff to mobile --- .../components/history-modal-mobile.tsx | 50 ++++++++++++------- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/apps/client/src/features/page-history/components/history-modal-mobile.tsx b/apps/client/src/features/page-history/components/history-modal-mobile.tsx index 84e51cde..0c955937 100644 --- a/apps/client/src/features/page-history/components/history-modal-mobile.tsx +++ b/apps/client/src/features/page-history/components/history-modal-mobile.tsx @@ -1,5 +1,6 @@ import { ActionIcon, + Badge, Box, Button, Group, @@ -191,26 +192,39 @@ export default function HistoryModalMobile({ pageId, pageTitle }: Props) { return ( - ( + +
+ {option.label} + + {(option as { userName?: string }).userName} + +
+ {checked && } +
+ )} + comboboxProps={{ withinPortal: false }} + style={{ flex: 1 }} + /> + {diffCounts && ( + + + +{diffCounts.added} + + + -{diffCounts.deleted} + )} - comboboxProps={{ withinPortal: false }} - /> +