feat: revamp search experience

chore: hide toc on small screen

chore: make sidebar responsive
This commit is contained in:
Xin
2023-08-06 01:06:32 +01:00
parent 16a656947b
commit 7e37b73779
12 changed files with 390 additions and 77 deletions

View File

@ -1,6 +1,6 @@
{{ define "main" }}
<div class="mx-auto flex max-w-[90rem]">
<article class="typesetting-article w-full break-words flex min-h-[calc(100vh-4rem)] min-w-0 justify-center pb-8 pr-[calc(env(safe-area-inset-right)-1.5rem)]">
<article class="typesetting-article w-full break-words flex min-h-[calc(100vh-var(--navbar-height))] min-w-0 justify-center pb-8 pr-[calc(env(safe-area-inset-right)-1.5rem)]">
<main class="w-full min-w-0 max-w-6xl px-6 pt-4 md:px-12">
<div>
<h1>{{ .Title }}</h1>