diff --git a/libs/react-spa/bff/src/lib/BffDoubleSession.css.ts b/libs/react-spa/bff/src/lib/BffDoubleSession.css.ts index 722530889cf5..bbdc38618225 100644 --- a/libs/react-spa/bff/src/lib/BffDoubleSession.css.ts +++ b/libs/react-spa/bff/src/lib/BffDoubleSession.css.ts @@ -3,4 +3,13 @@ import { style } from '@vanilla-extract/css' export const buttonWrapper = style({ marginTop: theme.spacing[2], + display: 'inline-flex', + flexDirection: 'column', + alignItems: 'center', + + '@media': { + [`screen and (min-width: ${theme.breakpoints.md}px)`]: { + display: 'inline', + }, + }, }) diff --git a/libs/react-spa/bff/src/lib/BffDoubleSession.tsx b/libs/react-spa/bff/src/lib/BffDoubleSession.tsx index 872601967d89..6166f64b6596 100644 --- a/libs/react-spa/bff/src/lib/BffDoubleSession.tsx +++ b/libs/react-spa/bff/src/lib/BffDoubleSession.tsx @@ -50,7 +50,6 @@ export const BffDoubleSessionModal = ({ - . } diff --git a/libs/react-spa/bff/src/lib/BffProvider.tsx b/libs/react-spa/bff/src/lib/BffProvider.tsx index 6cb3d2734691..2ec1f30bd9a5 100644 --- a/libs/react-spa/bff/src/lib/BffProvider.tsx +++ b/libs/react-spa/bff/src/lib/BffProvider.tsx @@ -207,15 +207,7 @@ export const BffProvider = ({ const loginQueryParams = getLoginQueryParams() const targetLinkUri = loginQueryParams['target_link_uri'] - console.log( - nationalId, - bffUrlGenerator('/login', { - target_link_uri: targetLinkUri, - ...(nationalId - ? { login_hint: nationalId } - : { prompt: 'select_account' }), - }), - ) + window.location.href = bffUrlGenerator('/login', { target_link_uri: targetLinkUri, ...(nationalId