Skip to content

Commit

Permalink
components: DoveadmComponent - Semantically improve document structure
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 8, 2024
1 parent 564b010 commit 2fa8e44
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/DoveadmComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ const d = Object.fromEntries(Object.entries(data.doveadm).filter(([k, v]) =>
</script>

<style scoped>
.doveadmList h3:first-of-type {
.doveadmList article:first-of-type {
border-top-width: 0;
padding-top: 0;
}
.doveadmList h3 {
.doveadmList article {
border-top: 1px solid var(--vp-c-divider);
}
.doveadmList h3 {
margin-top: 18px;
padding-top: 18px;
}
</style>

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

</template>
</article>
</section>
</template>

0 comments on commit 2fa8e44

Please sign in to comment.