Skip to content

Commit

Permalink
fix(site): less spacing on nav toc
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Mar 19, 2024
1 parent 196d590 commit 9faf2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/docs/NavToc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<nav id="nav-toc">
<ul class="ps-0 pt-2 pt-lg-0">
<template v-for="item in generated" >
<li v-if="item.depth > 1 && item.depth < 6" @click="closeToc" class="mb-3">
<li v-if="item.depth > 1 && item.depth < 6" @click="closeToc" :class="{'mt-3': item.depth === 2}">
<a :href="'#' + item.id" :class="'depth-' + item.depth">{{ item.text }}</a>
</li>
</template>
Expand Down

0 comments on commit 9faf2d3

Please sign in to comment.