summaryrefslogtreecommitdiffci
path: root/views/partials/catalogue-blog-cards.html
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2025-10-15 18:14:59 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2025-10-15 18:14:59 +0700
commit739a4af71187e82fd58956e5ad36f0baefddf3c4 (patch)
treeecd9e14fdffb24c89394bef0a6ad8e6cab66d9de /views/partials/catalogue-blog-cards.html
parent454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1 (diff)
downloadweb-739a4af71187e82fd58956e5ad36f0baefddf3c4.tar.gz
web-739a4af71187e82fd58956e5ad36f0baefddf3c4.zip
feat: improve measurements in layout
Diffstat (limited to 'views/partials/catalogue-blog-cards.html')
-rw-r--r--views/partials/catalogue-blog-cards.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/partials/catalogue-blog-cards.html b/views/partials/catalogue-blog-cards.html
index f96e0f1..041f3c8 100644
--- a/views/partials/catalogue-blog-cards.html
+++ b/views/partials/catalogue-blog-cards.html
@@ -1,15 +1,15 @@
{{- range .BlogPages }}
-<hr class="first-of-type:hidden border-t-[0.3vh] my-2 border-dotted border-main-dark w-[80%] mx-auto">
+<hr class="first-of-type:hidden border-t-1 mx-auto">
<div class="m-1 flex flex-row justify-center justify-items-center">
- <img onclick="changeUrl('{{ .ArticleLink }}');" class="cursor-pointer object-cover rounded-[10%] select-none w-20 h-20 aspect-square my-1 mr-2" src="https://f003.backblazeb2.com/file/sayana-photos/webp-320p/{{ .Thumbnail }}.webp">
- <div class="grow my-1 mx-2 flex flex-col justify-center">
- <div class="flex flex-row gap-[5%] max-w-[100%]">
- <a onclick="changeUrl('{{ .ArticleLink }}');" class="flex-9/12 grow-0 block text-base cursor-pointer">
+ <img onclick="changeUrl('{{ .ArticleLink }}');" class="cursor-pointer object-cover rounded-lg select-none w-24 h-24 aspect-square my-2.5 mr-2" src="https://f003.backblazeb2.com/file/sayana-photos/webp-320p/{{ .Thumbnail }}.webp">
+ <div class="grow my-0.5 mx-1 flex flex-col justify-center">
+ <div class="flex flex-row gap-2 max-w-[100%]">
+ <a onclick="changeUrl('{{ .ArticleLink }}');" class="grow text-base cursor-pointer">
<span class="font-extrabold">{{ .Title }}</span>
<span class="font-extrabold select-none text-secondary">//</span>
<span class="italic text-secondary">{{ .ActionDate }}</span>
</a>
- <p class="flex-3/12 grow-0 text-base italic text-secondary text-right">{{ .PublishedTime }}</p>
+ <p class="basis-56 text-base italic text-secondary text-right">{{ .PublishedTime }}</p>
</div>
<p class="text-base text-main-dark">{{ .ShortDescription }}</p>
<p class="text-base text-secondary italic">