Fixing...

This commit is contained in:
2024-03-06 16:49:36 +01:00
parent 3de8832689
commit 16cb987aff
2 changed files with 8 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ const { schem }: { schem: CollectionEntry<"publics">} = Astro.props;
---
<PageLayout title={schem.data.name}>
<h1 class="text-5xl font-bold" transition:name={schem.data.name + "-title"}>{schem.data.name}</h1>
<h1 class="text-5xl font-bold w-fit" transition:name={schem.data.name + "-title"}>{schem.data.name}</h1>
<PublicPreview client:idle file={schem.id}>
<Image transition:name={schem.data.name + "-img"} src={schem.data.image} alt={schem.data.name}></Image>
</PublicPreview>