Skip to content

Commit

Permalink
fix: horizontal margin for badge on PostLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosZBent committed Mar 12, 2023
1 parent 835999c commit 62c6977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/PostLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const displayDate = dayjs(pubDate).format("ll");
<h1 class="title my-2 text-4xl font-bold">{title}</h1>
{pubDate && <time>{displayDate}</time>}
<br>
{badge && <div class="badge badge-secondary mx-2">{badge}</div>}
{badge && <div class="badge badge-secondary my-1">{badge}</div>}
{
updatedDate && (
<div>
Expand Down

0 comments on commit 62c6977

Please sign in to comment.