feat: style update

This commit is contained in:
KazooTTT
2024-10-15 10:03:33 +08:00
parent f746d0aea2
commit ea8434ad7b
2 changed files with 1 additions and 2 deletions

View File

@ -76,7 +76,7 @@ const dateTimeOptions: Intl.DateTimeFormatOptions = {
<path d='M6 9h-.01' /> <path d='M6 9h-.01' />
</svg> </svg>
<div class='space-x-1'> <div class='space-x-1'>
{data.tags.map((tag, i) => ( {data.tags.map((tag) => (
<a <a
aria-label={`View more blogs with the tag ${tag}`} aria-label={`View more blogs with the tag ${tag}`}
class="inline-block before:content-['#'] hover:underline hover:underline-offset-4" class="inline-block before:content-['#'] hover:underline hover:underline-offset-4"

View File

@ -45,7 +45,6 @@ const { headings } = await post.render()
<div <div
id='blog-gallery' id='blog-gallery'
class='prose prose-base prose-zinc mt-12 text-muted-foreground dark:prose-invert prose-headings:font-medium prose-headings:text-foreground prose-headings:before:absolute prose-headings:before:-ms-4 prose-th:before:content-none' class='prose prose-base prose-zinc mt-12 text-muted-foreground dark:prose-invert prose-headings:font-medium prose-headings:text-foreground prose-headings:before:absolute prose-headings:before:-ms-4 prose-th:before:content-none'
style='max-width: 65rem'
> >
<slot /> <slot />
</div> </div>