Skip to content

Commit

Permalink
Merge branch 'master' into feat/add-rate-limit-guides
Browse files Browse the repository at this point in the history
  • Loading branch information
bpal938 authored Dec 12, 2024
2 parents 7a5c382 + a1b21dc commit d877e8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/TocNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
<ol class="mt-4">
<li
v-for="heading in visibleHeadings"
:key="heading.id"
:key="heading.slug"
>
<a
:href="`#${heading.id}`"
:href="`#${heading.slug}`"
class="flex truncate border-l-2 text-sm p-squish-2 hover:border-content-primary hover:text-content-primary"
:class="[
visibleHeadingId === heading.id ?
visibleHeadingId === heading.slug ?
'border-brand-accent text-content-primary':
'text-content-tertiary'
]"
@click="handleTocClick(heading.id)"
@click="handleTocClick(heading.slug)"
>
<span
:class="{
Expand Down

0 comments on commit d877e8c

Please sign in to comment.