Skip to content

Commit 4b2c0c8

Browse files
committed
Fix dates misalignment on the blog page
1 parent b6f9069 commit 4b2c0c8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

themes/starlit/templates/blog/blog.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ <h1 class="m-2 p-2 inline-block font-bold text-2xl">{{ section.title }}</h1>
3232
</thead>
3333
<tbody>
3434
{% for post in blog.pages %}
35-
<tr class="leading-10 align-top">
36-
<td class="w-1/6 p-0.5 pr-2 pt-4 text-right dark:text-white font-mono text-sm">
35+
<tr class="align-top">
36+
<td class="w-1/6 p-0.5 pr-2 pt-4 text-right dark:text-white font-mono leading-7">
3737
{{ post.date }}
3838
</td>
3939
<td class="w-4/6 p-2 pt-4 pb-4 border-b dark:border-neutral-800">
40-
<a class="underline hover:no-underline dark:text-orange-500 dark:hover:text-orange-500 dark:hover:bg-neutral-900 font-bold"
40+
<a class="underline hover:no-underline dark:text-orange-500 dark:hover:text-orange-500 dark:hover:bg-neutral-900 font-bold leading-7"
4141
href="{{ post.permalink | safe }}">{{ post.title }}</a>
4242
{% if post.description %}
4343
<p class="dark:text-neutral-300 text-sm leading-6 mt-1">{{ post.description }}</p>
4444
{% endif %}
4545
</td>
46-
<td class="pt-4">
46+
<td class="pt-4 leading-7">
4747
{{ badge_macro::badge(href="/tags/blog", title="Blog") }}
4848
</td>
4949
</tr>

0 commit comments

Comments
 (0)