⬆️ Fit to newest post link
This commit is contained in:
parent
db87a85585
commit
2f283d0a24
@ -20,7 +20,7 @@ function getThumbnail(item: any): string | null {
|
|||||||
<div class="grid justify-items-strench shadow-lg">
|
<div class="grid justify-items-strench shadow-lg">
|
||||||
{
|
{
|
||||||
posts?.map((item) => (
|
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">
|
<div class="card sm:card-side hover:bg-base-200 transition-colors sm:max-w-none">
|
||||||
{getThumbnail(item) && (
|
{getThumbnail(item) && (
|
||||||
<figure class="mx-auto w-full object-cover p-6 max-sm:pb-0 sm:max-w-[12rem] sm:pe-0">
|
<figure class="mx-auto w-full object-cover p-6 max-sm:pb-0 sm:max-w-[12rem] sm:pe-0">
|
||||||
|
@ -137,7 +137,7 @@ const embedOptions = new URLSearchParams({
|
|||||||
}
|
}
|
||||||
|
|
||||||
#interactive-iframe {
|
#interactive-iframe {
|
||||||
height: 100vh;
|
height: calc(100vh - 64px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user