From e4c3d06a0869bb4c3f6a9d7099cbf11889f63174 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Mon, 4 May 2026 20:55:13 +0100 Subject: [PATCH] fixes --- .../public/locales/en-US/translation.json | 1 + .../layouts/global/global-sidebar.module.css | 2 +- .../src/components/settings/app-version.tsx | 2 +- .../components/page-verification-modal.tsx | 21 +++++++++-- .../page/components/page-import-modal.tsx | 37 +++++++++++++++++-- .../search/components/search-control.tsx | 1 + .../src/pages/favorites/favorites-page.tsx | 6 +-- apps/client/src/theme.ts | 2 +- 8 files changed, 59 insertions(+), 13 deletions(-) diff --git a/apps/client/public/locales/en-US/translation.json b/apps/client/public/locales/en-US/translation.json index 79c5d076..38fd5f2d 100644 --- a/apps/client/public/locales/en-US/translation.json +++ b/apps/client/public/locales/en-US/translation.json @@ -416,6 +416,7 @@ "{{latestVersion}} is available": "{{latestVersion}} is available", "Default page edit mode": "Default page edit mode", "Choose your preferred page edit mode. Avoid accidental edits.": "Choose your preferred page edit mode. Avoid accidental edits.", + "Choose {{format}} file": "Choose {{format}} file", "Reading": "Reading", "Delete member": "Delete member", "Member deleted successfully": "Member deleted successfully", diff --git a/apps/client/src/components/layouts/global/global-sidebar.module.css b/apps/client/src/components/layouts/global/global-sidebar.module.css index 37cb60b6..9a7bc1b6 100644 --- a/apps/client/src/components/layouts/global/global-sidebar.module.css +++ b/apps/client/src/components/layouts/global/global-sidebar.module.css @@ -50,7 +50,7 @@ .sectionHeader { padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm); font-size: var(--mantine-font-size-xs); - color: light-dark(var(--mantine-color-gray-6), var(--mantine-color-dark-3)); + color: var(--mantine-color-dimmed); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; diff --git a/apps/client/src/components/settings/app-version.tsx b/apps/client/src/components/settings/app-version.tsx index 5ba9ce2a..44e0b8c4 100644 --- a/apps/client/src/components/settings/app-version.tsx +++ b/apps/client/src/components/settings/app-version.tsx @@ -29,7 +29,7 @@ export default function AppVersion() { > - + - + ); } @@ -131,7 +139,12 @@ export function PageVerificationBadge({ ) : !readOnly ? ( - + diff --git a/apps/client/src/features/page/components/page-import-modal.tsx b/apps/client/src/features/page/components/page-import-modal.tsx index c1c12dc4..3283ff79 100644 --- a/apps/client/src/features/page/components/page-import-modal.tsx +++ b/apps/client/src/features/page/components/page-import-modal.tsx @@ -67,7 +67,7 @@ export default function PageImportModal({ {t("Import pages")} - + @@ -332,7 +332,15 @@ function ImportFormatSelection({ spaceId, onClose }: ImportFormatSelection) { return ( <> - + {(props) => (