diff --git a/frontend/src/lib/components/login-wrapper.svelte b/frontend/src/lib/components/login-wrapper.svelte index c6ff8402..3d5b91b9 100644 --- a/frontend/src/lib/components/login-wrapper.svelte +++ b/frontend/src/lib/components/login-wrapper.svelte @@ -3,6 +3,7 @@ import { m } from '$lib/paraglide/messages'; import { cn } from '$lib/utils/style'; import type { Snippet } from 'svelte'; + import { MediaQuery } from 'svelte/reactivity'; import * as Card from './ui/card'; let { @@ -14,72 +15,75 @@ showAlternativeSignInMethodButton?: boolean; animate?: boolean; } = $props(); + + const isDesktop = new MediaQuery('min-width: 1024px'); - -
{@html m.client_wants_to_access_the_following_information({ client: client.name })}
@@ -138,18 +138,14 @@{m.the_device_has_been_authorized()}
{:else if authorizationRequired} -@@ -110,14 +110,14 @@ {/if} {#if !success} -