style: Adjust spacing on user_posts.liquid to match user_comments.liquid
This commit is contained in:
1 parent
265a0fbbf8
commit
4b3ce9a202
1 file changed
+3
-3
@@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
<div class="mt-4">
|
<div class="mt-4">
|
||||||
{% if user_posts.size > 0 %}
|
{% if user_posts.size > 0 %}
|
||||||
<div class="post-list space-y-4">
|
<div class="post-list space-y-0"> <!-- Removed space-y-4 -->
|
||||||
{% for post in user_posts %}
|
{% for post in user_posts %}
|
||||||
<div class="post-item mb-4" data-type="{{ post.type | default: 'unknown' }}" data-date="{{ post.date | date_to_xmlschema }}" data-upvotes="{{ post.upvotes | default: 0 }}" data-comments="{{ post.comments_count | default: 0 }}">
|
<div class="post-item border-b border-gray-200 py-4" data-type="{{ post.type | default: 'unknown' }}" data-date="{{ post.date | date_to_xmlschema }}" data-upvotes="{{ post.upvotes | default: 0 }}" data-comments="{{ post.comments_count | default: 0 }}"> <!-- Removed mb-4, Added border and padding -->
|
||||||
<article class="flex flex-col md:flex-row items-start">
|
<article class="flex flex-col md:flex-row items-start">
|
||||||
<div class="flex-1 text-left">
|
<div class="flex-1 text-left">
|
||||||
<div>
|
<div>
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<hr class="border-border-light my-4">
|
<!-- Removed hr element -->
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user