From 93818d8292547d32df4303b6da37ebb972ec745e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Thu, 30 Jul 2026 16:14:56 +0200 Subject: [PATCH] Polish portal banner actions and alignment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prefer the saved locale as the primary CTA, soften secondary and NDA actions, tint dismiss hovers to the banner palette, and center the leading icon with the message. Signed-off-by: Émile Ré --- .../src/components/Banner/Banner.tsx | 8 +++---- .../src/components/Banner/variants.ts | 4 ++-- .../LocaleMismatchBanner.tsx | 22 +++++++++---------- .../UnsignedNDABanner/UnsignedNDABanner.tsx | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/apps/compliance-portal/src/components/Banner/Banner.tsx b/apps/compliance-portal/src/components/Banner/Banner.tsx index c986f401c..4abd833d2 100644 --- a/apps/compliance-portal/src/components/Banner/Banner.tsx +++ b/apps/compliance-portal/src/components/Banner/Banner.tsx @@ -59,8 +59,8 @@ export function Banner({
{message}
+ - )} dismissLabel={t("locale.mismatch.dismiss")} diff --git a/apps/compliance-portal/src/components/UnsignedNDABanner/UnsignedNDABanner.tsx b/apps/compliance-portal/src/components/UnsignedNDABanner/UnsignedNDABanner.tsx index 59972aaf2..4d846cc9a 100644 --- a/apps/compliance-portal/src/components/UnsignedNDABanner/UnsignedNDABanner.tsx +++ b/apps/compliance-portal/src/components/UnsignedNDABanner/UnsignedNDABanner.tsx @@ -75,7 +75,7 @@ export function UnsignedNDABanner({ compliancePortalKey }: UnsignedNDABannerProp {t("nda.unsignedBanner.sign")}