From 2ef60cd53726418745fba05cd0d3da8a13852cdf Mon Sep 17 00:00:00 2001 From: Jennifer Byrne Date: Wed, 10 Jul 2024 01:12:14 -0500 Subject: [PATCH] fix spacing on settings and security and current page highlight on side nav --- nextjs/src/app/[locale]/publishers/NavigationOptions.tsx | 8 ++++---- nextjs/src/app/[locale]/publishers/security/page.tsx | 2 +- nextjs/src/app/[locale]/publishers/settings/page.tsx | 2 +- .../[locale]/publishers/totp_registrations/new/page.jsx | 2 +- .../[locale]/publishers/u2f_registrations/new/page.tsx | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nextjs/src/app/[locale]/publishers/NavigationOptions.tsx b/nextjs/src/app/[locale]/publishers/NavigationOptions.tsx index 46de43c08..b8f12efdc 100644 --- a/nextjs/src/app/[locale]/publishers/NavigationOptions.tsx +++ b/nextjs/src/app/[locale]/publishers/NavigationOptions.tsx @@ -20,28 +20,28 @@ export default function NavigationOptions() { {t('shared.dashboard')} {t('NavDropdown.contribution_banners')} {t('NavDropdown.security')} {t('NavDropdown.settings')} diff --git a/nextjs/src/app/[locale]/publishers/security/page.tsx b/nextjs/src/app/[locale]/publishers/security/page.tsx index 43894ef82..a493b18d3 100644 --- a/nextjs/src/app/[locale]/publishers/security/page.tsx +++ b/nextjs/src/app/[locale]/publishers/security/page.tsx @@ -81,7 +81,7 @@ export default function SecurityPage() { {t('NavDropdown.security')} -
+
diff --git a/nextjs/src/app/[locale]/publishers/settings/page.tsx b/nextjs/src/app/[locale]/publishers/settings/page.tsx index 9862b11af..fac355c32 100644 --- a/nextjs/src/app/[locale]/publishers/settings/page.tsx +++ b/nextjs/src/app/[locale]/publishers/settings/page.tsx @@ -69,7 +69,7 @@ export default function SettingsPage() { hello -
+

{t('Settings.index.header')}

Stay Logged-In

diff --git a/nextjs/src/app/[locale]/publishers/totp_registrations/new/page.jsx b/nextjs/src/app/[locale]/publishers/totp_registrations/new/page.jsx index 444a41507..bcf40ab3d 100644 --- a/nextjs/src/app/[locale]/publishers/totp_registrations/new/page.jsx +++ b/nextjs/src/app/[locale]/publishers/totp_registrations/new/page.jsx @@ -59,7 +59,7 @@ export default function TOTPNewPage() { Setup Authenticator -
+
{user.two_factor_enabled && ( diff --git a/nextjs/src/app/[locale]/publishers/u2f_registrations/new/page.tsx b/nextjs/src/app/[locale]/publishers/u2f_registrations/new/page.tsx index cc3c4b28e..13d0a74c9 100644 --- a/nextjs/src/app/[locale]/publishers/u2f_registrations/new/page.tsx +++ b/nextjs/src/app/[locale]/publishers/u2f_registrations/new/page.tsx @@ -84,7 +84,7 @@ export default function U2fRegistrations() { Register Key -
+

{t('u2f_registrations.new.heading')}