update blog list styles

This commit is contained in:
sloane 2025-04-16 08:18:26 -04:00
parent d403675d9a
commit e6bc0ce5dc
Signed by: sloanelybutsurely
SSH key fingerprint: SHA256:8SBnwhl+RY3oEyQxy1a9wByPzxWM0x+/Ejc+sIlY5qQ
2 changed files with 2 additions and 2 deletions
lib/web/controllers

View file

@ -15,7 +15,7 @@
class="flex justify-between items-center hover:bg-gray-50 -mx-2 px-2 py-1 rounded"
>
<h3 class="p-name u-url">{blog.title}</h3>
<div class="text-gray-500 dt-published">
<div class="text-gray-500 dt-published flex-shrink-0">
<.timex value={Core.Posts.publish_date_time(blog)} format="{Mfull} {D}" />
</div>
</.link>

View file

@ -16,7 +16,7 @@
navigate={Web.Paths.public_blog_path(blog)}
class="flex justify-between items-center hover:bg-gray-50 -mx-2 px-2 py-1 rounded"
>
<h3 class="p-name u-url truncate">{blog.title}</h3>
<h3 class="p-name u-url">{blog.title}</h3>
<div class="text-gray-500 dt-published flex-shrink-0">
<.timex value={Core.Posts.publish_date_time(blog)} format="{Mfull} {D}, {YYYY}" />
</div>