diff --git a/src/components/PostList.astro b/src/components/PostList.astro index 5ec65af..606bfed 100644 --- a/src/components/PostList.astro +++ b/src/components/PostList.astro @@ -20,7 +20,7 @@ function getThumbnail(item: any): string | null {
{ posts?.map((item) => ( - +
{getThumbnail(item) && (
diff --git a/src/pages/posts/[slug].astro b/src/pages/posts/[slug].astro index 8d0a16b..e465524 100644 --- a/src/pages/posts/[slug].astro +++ b/src/pages/posts/[slug].astro @@ -137,7 +137,7 @@ const embedOptions = new URLSearchParams({ } #interactive-iframe { - height: 100vh; + height: calc(100vh - 64px); } }