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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user