From fe3732add930ac0749a35aa05fa598ebd45661b4 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sun, 1 Feb 2026 23:55:10 +0000 Subject: [PATCH] responsive highlight button --- .../page-history/components/history-modal-body.tsx | 8 ++++---- .../features/page-history/components/history-modal.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/client/src/features/page-history/components/history-modal-body.tsx b/apps/client/src/features/page-history/components/history-modal-body.tsx index 1289ac6c..5673c82a 100644 --- a/apps/client/src/features/page-history/components/history-modal-body.tsx +++ b/apps/client/src/features/page-history/components/history-modal-body.tsx @@ -74,16 +74,16 @@ export default function HistoryModalBody({ pageId }: Props) { transform: "translateX(-50%)", }} > - + setHighlightChanges(e.currentTarget.checked)} - style={{ userSelect: "none" }} + styles={{ label: { userSelect: "none", whiteSpace: "nowrap" } }} /> {highlightChanges && diffCounts && diffCounts.total > 0 && ( - - + + {currentChangeIndex} of {diffCounts.total} setModalOpen(false)} >