style: Improve post meta info spacing, margins, and padding
This commit is contained in:
1 parent
706c3572ff
commit
c32584279b
1 file changed
+6
-10
@@ -30,22 +30,18 @@
|
|||||||
<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">
|
<div class="mt-0 mb-1 text-sm flex items-center space-x-2">
|
||||||
<span class="bg-gray-200 text-gray-700 text-xs px-2 py-1 mr-2 rounded-full flex items-center">
|
<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>
|
||||||
<i class="fa-solid fa-arrow-up"></i> {{ post.upvotes }}
|
<div class="flex items-center space-x-2">
|
||||||
</span>
|
|
||||||
<div class="flex items-center space-x-2 ml-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 px-2 py-1 rounded-full flex items-center">
|
||||||
<i class="fas fa-flag mr-1"></i>
|
<i class="fas fa-flag mr-1"></i> report
|
||||||
</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 px-2 py-1 rounded-full flex items-center">
|
||||||
<i class="fas fa-reply mr-1"></i>
|
<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 px-2 py-1 rounded-full flex items-center">
|
||||||
<i class="fas fa-comment mr-1"></i> {{ post.comments_count }}
|
<i class="fas fa-comment mr-1"></i> {{ post.comments_count }} comments
|
||||||
</span>
|
</span>
|
||||||
<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>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user