Skip to content

Commit 3433046

Browse files
committed
small styling updates for web ring posts
1 parent 0bcbf1e commit 3433046

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

app/components/BlogPostFederatedArticles.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ const federatedArticles = computed(() => {
4040
</script>
4141

4242
<template>
43-
<article class="px-4 py-2 sm:-mx-6 sm:px-6 sm:-my-3 sm:py-3 sm:rounded-md">
44-
<h2 class="font-mono text-xl font-medium text-fg">
43+
<aside class="px-4 sm:-mx-6 sm:px-6 sm:-my-3 sm:py-3 sm:rounded-md">
44+
<h2 class="font-mono text-xl font-medium text-fg mt-0">
4545
{{ headline }}
4646
</h2>
47-
<section
47+
<div
4848
v-if="federatedArticles.length"
4949
class="grid gap-4 grid-cols-[repeat(auto-fit,minmax(14rem,1fr))] transition-[grid-template-cols]"
5050
>
@@ -69,6 +69,6 @@ const federatedArticles = computed(() => {
6969
</p>
7070
</div>
7171
</a>
72-
</section>
73-
</article>
72+
</div>
73+
</aside>
7474
</template>

app/components/BlogPostWrapper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const blueskyPostUri = computed(() => blueskyLink.value?.postUri ?? null)
3333
<AuthorList :authors="frontmatter.authors" variant="expanded" />
3434
</div>
3535
</div>
36-
<article class="max-w-prose mx-auto p-2 border-b border-border prose dark:prose-invert">
36+
<article class="max-w-prose mx-auto p-2 prose dark:prose-invert">
3737
<div class="text-sm text-fg-muted font-mono mb-4">
3838
<DateTime :datetime="frontmatter.date" year="numeric" month="short" day="numeric" />
3939
</div>

0 commit comments

Comments
 (0)