⬆️ Fit to newest post link

This commit is contained in:
LittleSheep 2024-02-10 12:13:44 +08:00
parent db87a85585
commit 2f283d0a24
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ function getThumbnail(item: any): string | null {
<div class="grid justify-items-strench shadow-lg">
{
posts?.map((item) => (
<a href={`/p/${item.id}`}>
<a href={`/p/${item.alias}`}>
<div class="card sm:card-side hover:bg-base-200 transition-colors sm:max-w-none">
{getThumbnail(item) && (
<figure class="mx-auto w-full object-cover p-6 max-sm:pb-0 sm:max-w-[12rem] sm:pe-0">

View File

@ -137,7 +137,7 @@ const embedOptions = new URLSearchParams({
}
#interactive-iframe {
height: 100vh;
height: calc(100vh - 64px);
}
}