diff --git a/apps/compliance-portal/src/components/LocaleMismatchCallout.tsx b/apps/compliance-portal/src/components/LocaleMismatchCallout.tsx index 78979bede..b5957302b 100644 --- a/apps/compliance-portal/src/components/LocaleMismatchCallout.tsx +++ b/apps/compliance-portal/src/components/LocaleMismatchCallout.tsx @@ -20,8 +20,8 @@ import { GlobeIcon, XIcon } from "@phosphor-icons/react"; import { Button } from "@probo/ui/src/v2/Button/Button"; -import { Callout } from "@probo/ui/src/v2/Callout/Callout"; import { IconButton } from "@probo/ui/src/v2/IconButton/IconButton"; +import { Text } from "@probo/ui/src/v2/typography/Text"; import { useState } from "react"; import { useTranslation } from "react-i18next"; import { graphql, useFragment } from "react-relay"; @@ -46,8 +46,8 @@ interface LocaleMismatchCalloutProps { identityKey: LocaleMismatchCallout_identity$key; } -// Soft notice when the URL locale differs from the signed-in identity preference. -// Dismissed state is React-only (no localStorage/cookies). +// Full-bleed notice when the URL locale differs from the signed-in identity +// preference. Dismissed state is React-only (no localStorage/cookies). export function LocaleMismatchCallout({ identityKey }: LocaleMismatchCalloutProps) { const { t } = useTranslation(); const identity = useFragment(localeMismatchCalloutFragment, identityKey); @@ -75,45 +75,61 @@ export function LocaleMismatchCallout({ identityKey }: LocaleMismatchCalloutProp }; return ( -
- }> -
-

- {t("locale.mismatch.message", { language: urlLabel })} -

-
- - - setDismissed(true)} - > - - -
-
-
-
+ ); }