Skip to content

Commit b1c09fb

Browse files
committed
swap byline and desc in list
1 parent a3063f4 commit b1c09fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/routes/blog/+page.svelte

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<a class="link" href={post.route}>
1313
<h2 class="heading">{post.metadata.title}</h2>
1414
</a>
15-
<p class="description">{post.metadata.description}</p>
1615
<p class="byline">{format(post.metadata.date, "MMMM d, yyyy")} by {post.metadata.author}</p>
16+
<p class="description">{post.metadata.description}</p>
1717
</li>
1818
{/each}
1919
</ul>
@@ -52,7 +52,9 @@
5252
text-decoration: none;
5353
}
5454
.item {
55-
display: grid;
55+
display: flex;
56+
flex-direction: column;
57+
align-items: start;
5658
gap: 0.2rem;
5759
}
5860
</style>

0 commit comments

Comments
 (0)