fix(site): show docs sidebar on tablet

closes #509
This commit is contained in:
Darius Cepulis
2026-02-11 10:47:16 -06:00
parent bcf948c8f9
commit f5773825ba
5 changed files with 51 additions and 42 deletions
+3 -4
View File
@@ -68,11 +68,10 @@ export function Selectors({ currentFramework, currentSlug }: SelectorProps) {
}));
return (
// we switch to py-2.5 for a short time to match the table of contents in the body
<div className="px-6 pb-6 pt-2.5 lg:py-2.5 xl:p-6 border-b border-light-40 dark:border-dark-80">
<div className="px-6 pb-6 pt-2.5 md:py-2.5 xl:p-6 border-b border-light-40 dark:border-dark-80">
<div
className="max-w-3xl mx-auto w-full grid grid-flow-col grid-cols-2 grid-rows-2 gap-x-2 lg:grid-flow-row lg:grid-cols-(--lg-grid-cols) lg:gap-x-6 lg:gap-y-2 items-center"
style={{ '--lg-grid-cols': 'auto minmax(0, 1fr)' } as React.CSSProperties}
className="max-w-3xl mx-auto w-full grid grid-flow-col grid-cols-2 grid-rows-2 gap-x-2 md:grid-flow-row md:grid-cols-(--md-grid-cols) md:gap-x-6 md:gap-y-2 items-center"
style={{ '--md-grid-cols': 'auto minmax(0, 1fr)' } as React.CSSProperties}
>
<span>Framework</span>
<Select