1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-12 07:24:00 +00:00

fix: use inline style for dynamic background image URL instead of Tailwind class

This commit is contained in:
Elias Schneider
2025-06-16 23:54:35 +02:00
parent c8eb034c49
commit bef77ac8dc

View File

@@ -65,7 +65,8 @@
</div> </div>
{:else} {:else}
<div <div
class="flex h-screen items-center justify-center bg-[url('{cachedBackgroundImage.getUrl()}')] bg-cover bg-center text-center" class="flex h-screen items-center justify-center bg-cover bg-center text-center"
style="background-image: url({cachedBackgroundImage.getUrl()});"
> >
<Card.Root class="mx-3 w-full max-w-md" style={animate ? 'animation-delay: 200ms;' : ''}> <Card.Root class="mx-3 w-full max-w-md" style={animate ? 'animation-delay: 200ms;' : ''}>
<Card.CardContent <Card.CardContent