Skip to content

Commit

Permalink
fix: update mobile toc overflow from scroll to auto (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky authored Jul 5, 2021
1 parent d39e15e commit d9d272c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<span class="text-base font-semibold text-gray-900 dark:text-gray-100">{{ title || $t('toc.title') }}</span>
</h5>

<div class="overflow-y-scroll overflow-hidden max-h-[50vh]">
<div class="overflow-y-auto overflow-hidden max-h-[50vh]">
<PageTocList :toc="toc" @click.native="showMobileToc = false" />
</div>
</div>
Expand Down

0 comments on commit d9d272c

Please sign in to comment.