Post metadata to left-align on mobile

This commit is contained in:
Kerby Martino committed 2025-05-01 11:17:41 +08:00
1 parent 99aa4a7954
commit 9eeaaf081c
1 file changed
+5 -5
+5 -5
View File
@@ -24,15 +24,15 @@
<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 md:text-lg hover:underline">{{ post.title }}</a></strong> <strong><a href="{{ post.url }}" class="text-text-title font-normal text-base md:text-lg hover:underline">{{ post.title }}</a></strong>
</p> </p>
<div class="mt-2 mb-1 text-sm flex flex-col md:flex-row items-center md:space-x-2"> <div class="mt-2 mb-1 text-sm flex flex-col md:flex-row items-start md:space-x-2">
<div class="flex items-center space-x-2 mb-2 md:mb-0"> <div class="flex items-start space-x-2 mb-2 md:mb-0">
<span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 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-start">
<i class="fa-solid fa-arrow-up mr-1"></i> {{ post.upvotes }} <i class="fa-solid fa-arrow-up mr-1"></i> {{ post.upvotes }}
</span> </span>
<span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 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-start">
<i class="fas fa-reply mr-1"></i> REPLY <i class="fas fa-reply mr-1"></i> REPLY
</span> </span>
<span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 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-start">
<i class="fas fa-comment mr-1"></i> {{ post.comments_count }} <i class="fas fa-comment mr-1"></i> {{ post.comments_count }}
</span> </span>
</div> </div>