Skip to content

Commit 9d370f6

Browse files
slusarzsirainen
authored andcommitted
components: DoveadmComponent - Semantically improve document structure
1 parent 564b010 commit 9d370f6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/DoveadmComponent.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ const d = Object.fromEntries(Object.entries(data.doveadm).filter(([k, v]) =>
1919
</script>
2020

2121
<style scoped>
22-
.doveadmList h3:first-of-type {
22+
.doveadmList article:first-of-type {
2323
border-top-width: 0;
24-
padding-top: 0;
2524
}
26-
.doveadmList h3 {
25+
.doveadmList article {
2726
border-top: 1px solid var(--vp-c-divider);
27+
}
28+
.doveadmList h3 {
2829
margin-top: 18px;
29-
padding-top: 18px;
3030
}
3131
</style>
3232

3333
<template>
3434
<section class="doveadmList">
35-
<template v-for="(v, k) in d">
35+
<article v-for="(v, k) in d">
3636
<h3 :id="k" tabindex="-1">
3737
<code>{{ k }}</code>
3838
<a class="header-anchor" :href="'#' + k"></a>
@@ -141,6 +141,6 @@ const d = Object.fromEntries(Object.entries(data.doveadm).filter(([k, v]) =>
141141
</div>
142142
</details>
143143

144-
</template>
144+
</article>
145145
</section>
146146
</template>

0 commit comments

Comments
 (0)