Skip to content

Commit b671b9a

Browse files
committed
refactor: set article on the readme contents itself
1 parent e865229 commit b671b9a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/pages/[...package].vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ function handleClick(event: MouseEvent) {
893893
</div>
894894

895895
<!-- README -->
896-
<article id="readme" class="area-readme min-w-0 scroll-mt-20">
896+
<section id="readme" class="area-readme min-w-0 scroll-mt-20">
897897
<h2 id="readme-heading" class="group text-xs text-fg-subtle uppercase tracking-wider mb-4">
898898
<a
899899
href="#readme"
@@ -907,7 +907,7 @@ function handleClick(event: MouseEvent) {
907907
</a>
908908
</h2>
909909
<!-- eslint-disable vue/no-v-html -- HTML is sanitized server-side -->
910-
<div
910+
<article
911911
v-if="readmeData?.html"
912912
class="readme-content prose prose-invert max-w-[70ch]"
913913
v-html="readmeData.html"
@@ -919,7 +919,7 @@ function handleClick(event: MouseEvent) {
919919
$t('package.readme.view_on_github')
920920
}}</a>
921921
</p>
922-
</article>
922+
</section>
923923

924924
<div class="area-sidebar">
925925
<!-- Sidebar -->

0 commit comments

Comments
 (0)