site: fix anchor height

This commit is contained in:
07akioni 2021-10-15 03:33:51 +08:00
parent a8f8a27d67
commit 1a7d941205

View File

@ -56,7 +56,7 @@ function genAnchorTemplate (
internal-scrollable
:bound="16"
type="block"
style="width: 128px; position: sticky; top: 32px; max-height: calc(100vh - 32px - 64px);"
style="width: 128px; position: sticky; top: 32px; max-height: calc(100vh - 32px - 64px); height: auto;"
offset-target="#doc-layout"
:ignore-gap="${options.ignoreGap}"
>