mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 10:31:19 -04:00
feat: revamp search experience
chore: hide toc on small screen chore: make sidebar responsive
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{{/* Table of Contents */}}
|
||||
{{/* TODO: toc should be able to get disabled through page frontmatter */}}
|
||||
{{/* TODO: toc bottom part should be able to hide */}}
|
||||
<div class="order-last w-64 shrink-0 xl:block print:hidden px-4" aria-label="table of contents">
|
||||
<div class="order-last hidden w-64 shrink-0 xl:block print:hidden px-4" aria-label="table of contents">
|
||||
<div class="sticky top-16 overflow-y-auto pr-4 pt-6 text-sm [hyphens:auto] max-h-[calc(100vh-4rem-env(safe-area-inset-bottom))] ltr:-mr-4 rtl:-ml-4">
|
||||
{{ with .Fragments.Headings }}
|
||||
<p class="mb-4 font-semibold tracking-tight">On This Page</p>
|
||||
|
Reference in New Issue
Block a user