From 4646aae320b428ab83af7ecc9c133a82fbcf5be2 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sat, 26 Sep 2026 00:39:10 +0200 Subject: [PATCH] fix(design): the table header takes the B9 fade utility, and every size is dvh, not vh (E28 S3d4) The table header carried an arbitrary-value copy of fade-below; a contract refuses a hand gradient of a surface colour. 100vh is the viewport with a tablet browser's toolbar retracted, so h-screen / min-h-screen / static vh hid the last rows under it; a contract holds dvh (the Plex player stage changes with S3f, where it is played on the tablet). --- frontend/src/components/BootGate.tsx | 4 +-- frontend/src/components/ErrorBoundary.tsx | 2 +- frontend/src/components/IssueComposer.tsx | 4 +-- frontend/src/components/LibraryPlayer.tsx | 2 +- frontend/src/components/PlexSearchBox.tsx | 2 +- frontend/src/components/SetupWizard.tsx | 2 +- frontend/src/components/VideoEditor.tsx | 2 +- frontend/src/components/Welcome.tsx | 4 +-- frontend/src/components/legal/LegalLayout.tsx | 2 +- frontend/src/components/ui/CommandPalette.tsx | 4 +-- frontend/src/components/ui/Modal.tsx | 2 +- frontend/src/components/ui/tableHeader.tsx | 2 +- frontend/src/lib/fadeEdge.contract.test.ts | 30 +++++++++++++++++ .../src/lib/viewportUnits.contract.test.ts | 33 +++++++++++++++++++ frontend/src/main.tsx | 2 +- 15 files changed, 80 insertions(+), 17 deletions(-) create mode 100644 frontend/src/lib/fadeEdge.contract.test.ts create mode 100644 frontend/src/lib/viewportUnits.contract.test.ts diff --git a/frontend/src/components/BootGate.tsx b/frontend/src/components/BootGate.tsx index 7becdaf7..7b524cf9 100644 --- a/frontend/src/components/BootGate.tsx +++ b/frontend/src/components/BootGate.tsx @@ -30,7 +30,7 @@ import { LoadingState, StateMessage } from "./ui/QueryState"; * Suspense fallback after it and the first page's own loading state keep one clock (see LoadingState). */ export function BootScreen() { return ( -
+
); @@ -121,7 +121,7 @@ export default function BootGate({ children }: { children: ReactNode }) { : null; if (failed) return ( -
+
failed.refetch()}> {t("common.somethingWrong")} diff --git a/frontend/src/components/ErrorBoundary.tsx b/frontend/src/components/ErrorBoundary.tsx index 1d9d6646..05c2225c 100644 --- a/frontend/src/components/ErrorBoundary.tsx +++ b/frontend/src/components/ErrorBoundary.tsx @@ -41,7 +41,7 @@ export default class ErrorBoundary extends Component { if (this.state.crashed) { if (reloadingForNewBuild()) return null; return ( -
+
{i18n.t("errors.boundary.title")} diff --git a/frontend/src/components/IssueComposer.tsx b/frontend/src/components/IssueComposer.tsx index abe9f333..0616b52e 100644 --- a/frontend/src/components/IssueComposer.tsx +++ b/frontend/src/components/IssueComposer.tsx @@ -756,7 +756,7 @@ function ReviewList({ {t("recorder.composer.reviewDone")}
-