diff --git a/src/renderer/src/components/macos-permissions/FullDiskAccessNudgeToast.tsx b/src/renderer/src/components/macos-permissions/FullDiskAccessNudgeToast.tsx index 694e9dc6262..f64e4c04e50 100644 --- a/src/renderer/src/components/macos-permissions/FullDiskAccessNudgeToast.tsx +++ b/src/renderer/src/components/macos-permissions/FullDiskAccessNudgeToast.tsx @@ -35,12 +35,10 @@ export function FullDiskAccessNudgeToast({ const t = useTranslate() const title = promptCount > 1 - ? t( - 'auto.hooks.useMacosTccPromptNotice.titleMany', - 'macOS interrupted your agents {{count}}×', - { count: promptCount } - ) - : t('auto.hooks.useMacosTccPromptNotice.titleOne', 'macOS just interrupted an agent') + ? t('auto.hooks.useMacosTccPromptNotice.titleMany', 'macOS showed {{count}} file prompts', { + count: promptCount + }) + : t('auto.hooks.useMacosTccPromptNotice.titleOne', 'macOS just showed a file prompt') return (
@@ -61,15 +59,16 @@ export function FullDiskAccessNudgeToast({

{t( 'auto.hooks.useMacosTccPromptNotice.subtitle', - 'Full Disk Access stops these file prompts.' + 'Full Disk Access stops these prompts.' )}

{/* Why: on a roomy card, indent by illustration width + gap so the actions start - under the title. Below ~22rem of card width (20rem content box) that indent would - push the button past the border, so the row drops it and stacks full width. */} -
+ under the title; below a 20rem content box that indent would overflow, so stack. + Each property is set only by a container variant: dev-loaded utility sheets + (react-grab) re-declare base utilities later and would win a base-vs-variant tie. */} +
{/* Why: Button is nowrap/shrink-0 by default; let the label wrap rather than overflow. */}