style: update post list styling

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-01 10:59:15 +08:00
1 parent c32584279b
commit 0c67ba4f80
1 file changed
+6 -9
+6 -9
View File
@@ -30,17 +30,14 @@
<p class="mt-0 mb-0.5"> <p class="mt-0 mb-0.5">
<strong><a href="{{ post.url }}" class="text-text-title font-normal text-base hover:underline">{{ post.title }}</a></strong> <strong><a href="{{ post.url }}" class="text-text-title font-normal text-base hover:underline">{{ post.title }}</a></strong>
</p> </p>
<div class="mt-0 mb-1 text-sm flex items-center space-x-2"> <div class="mt-2 mb-1 text-sm flex items-center space-x-2">
<small class="text-xs font-action"><a href="#" class="text-xs hover:underline">{{ post.author }}</a> <span class="text-text-muted text-xs opacity-75">{{ post.date | date: "%d %b %Y" }}</span></small> <small class="text-sm font-action"><a href="#" class="text-sm hover:underline">{{ post.author }}</a> <span class="text-text-muted text-sm opacity-75">{{ post.date | date: "%d %b %Y" }}</span></small>
<div class="flex items-center space-x-2"> <div class="flex items-center space-x-2">
<span class="bg-gray-200 text-gray-700 text-xs px-2 py-1 rounded-full flex items-center"> <span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 rounded-full flex items-center">
<i class="fas fa-flag mr-1"></i> report <i class="fas fa-reply mr-1"></i> REPLY
</span> </span>
<span class="bg-gray-200 text-gray-700 text-xs px-2 py-1 rounded-full flex items-center"> <span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 rounded-full flex items-center">
<i class="fas fa-reply mr-1"></i> reply <i class="fas fa-comment mr-1"></i> {{ post.comments_count }} COMMENTS
</span>
<span class="bg-gray-200 text-gray-700 text-xs px-2 py-1 rounded-full flex items-center">
<i class="fas fa-comment mr-1"></i> {{ post.comments_count }} comments
</span> </span>
</div> </div>
</div> </div>