diff --git a/apps/client/src/features/page-history/components/css/history-diff.module.css b/apps/client/src/features/page-history/components/css/history-diff.module.css
index 0d0d58f2c..0fa40997e 100644
--- a/apps/client/src/features/page-history/components/css/history-diff.module.css
+++ b/apps/client/src/features/page-history/components/css/history-diff.module.css
@@ -10,19 +10,12 @@
}
:global(.history-diff-added) {
- position: relative;
- z-index: 0;
-}
-
-:global(.history-diff-added)::before {
- content: "";
- position: absolute;
- z-index: -1;
- inset: 0;
- right: 0;
- background: light-dark(var(--mantine-color-green-0), rgba(0, 255, 0, 0.06));
- border-radius: rem(4px);
- pointer-events: none;
+ background: light-dark(#e1f3f2, #01654a) !important;
+ color: light-dark(#007b69, #cafff7) !important;
+ border-radius: rem(2px);
+ padding: 0 rem(2px);
+ -webkit-box-decoration-break: clone;
+ box-decoration-break: clone;
}
:global(.history-diff-deleted) {
@@ -34,7 +27,7 @@
}
:global(.history-diff-node-added) {
- outline: rem(2px) solid light-dark(var(--mantine-color-green-5), var(--mantine-color-green-7));
+ outline: rem(2px) solid light-dark(var(--mantine-color-teal-5), var(--mantine-color-teal-7));
outline-offset: rem(2px);
border-radius: rem(4px);
}
diff --git a/apps/client/src/features/page-history/components/history-list.tsx b/apps/client/src/features/page-history/components/history-list.tsx
index 699508a59..0853b6d1f 100644
--- a/apps/client/src/features/page-history/components/history-list.tsx
+++ b/apps/client/src/features/page-history/components/history-list.tsx
@@ -152,9 +152,6 @@ function HistoryList({ pageId }: Props) {
<>
-
+
>
)}
diff --git a/apps/client/src/features/page-history/components/history-modal.tsx b/apps/client/src/features/page-history/components/history-modal.tsx
index bcc4d20f5..00f5c4efa 100644
--- a/apps/client/src/features/page-history/components/history-modal.tsx
+++ b/apps/client/src/features/page-history/components/history-modal.tsx
@@ -28,18 +28,15 @@ export default function HistoryModal({ pageId, pageTitle }: Props) {
- {pageTitle ? (
- <>
- {t("Version history for")} {pageTitle} {t("document")}
- >
- ) : (
- t("Page history")
- )}
+ {t("Page history")}
-
+