How can I hide/disable the "on this page" on mobile devices? #933
Answered
by
fuma-nama
Ali-Hussein-dev
asked this question in
Q&A
-
the tableOfContent is disabled though, <DocsPage
tableOfContent={{
enabled: false,
}}
full={true}
>
// ...
</DocsPage> |
Beta Was this translation helpful? Give feedback.
Answered by
fuma-nama
Oct 6, 2024
Replies: 2 comments 6 replies
-
Is it still showing on mobile ? |
Beta Was this translation helpful? Give feedback.
3 replies
-
You can hide it using css for the id of the div, it will be hidden. #nd-tocnav {
visibility: hidden
} There is no problem hiding it, it will also be passed down as metadata for better seo. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's the
tableOfContentPopover
option, See https://fumadocs.vercel.app/docs/ui/blocks/page#popover-mode