diff --git a/apps/web/src/components/settings/IntegrationsSettings.tsx b/apps/web/src/components/settings/IntegrationsSettings.tsx index 379e20623c..fee0dfcbf5 100644 --- a/apps/web/src/components/settings/IntegrationsSettings.tsx +++ b/apps/web/src/components/settings/IntegrationsSettings.tsx @@ -21,6 +21,7 @@ import { } from "@t3tools/contracts"; import { PREVIEW_VIEWPORT_PRESETS } from "@t3tools/shared/previewViewport"; import { InfoIcon } from "lucide-react"; +import type { ReactNode } from "react"; import { ScreenRotationIcon } from "~/browser/ScreenRotationIcon"; import { isElectron } from "../../env"; @@ -380,20 +381,30 @@ function BrowserAutoShowFloatingPreviewSetting({ disabled }: { readonly disabled } /** - * The preview browser is a Chromium guest the desktop app hosts, so these - * defaults only mean anything there. They are also *client-local*, which is the - * reason for disabling rather than hiding: editing them from a browser tab - * would silently write preferences that belong to a different client, reading - * as though the desktop app had been configured when it hadn't. + * Frames the client-local preview defaults as one unavailable block. + * + * Disabling each control on its own left the labels and descriptions at full + * strength, so the group still read as editable. Boxing it puts the reason at + * the top and dims everything it covers, which is also why the explanation + * sits outside the dimmed area — the one part that must stay readable is the + * part saying why the rest isn't. + * + * Disabled rather than hidden because these are *client* settings: editing + * them from a browser tab would write preferences belonging to a different + * client, reading as though the desktop app had been configured when it + * hadn't. */ -function DesktopOnlyBrowserNotice() { +function DesktopOnlyBrowserDefaults({ children }: { readonly children: ReactNode }) { return ( -
- The in-app browser runs in the desktop app. These defaults apply to it and can only be - changed there. -
++ The in-app browser runs in the desktop app. These defaults apply to it and can only be + changed there. +
+