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)} >