fix(docs): made sidebar directories scrollable, stylistic changes (#1702)

This commit is contained in:
Waleed
2025-10-21 12:04:19 -07:00
committed by GitHub
parent c178a90f02
commit 859711991f
3 changed files with 3 additions and 3 deletions
@@ -97,7 +97,7 @@ export function SidebarFolder({
<div
className={cn(
'overflow-hidden transition-all duration-200 ease-in-out',
open ? 'max-h-[2000px] opacity-100' : 'max-h-0 opacity-0'
open ? 'max-h-[10000px] opacity-100' : 'max-h-0 opacity-0'
)}
>
<ul className='mt-0.5 ml-2 space-y-[0.0625rem] border-gray-200/60 border-l pl-2.5 dark:border-gray-700/60'>
+1 -1
View File
@@ -39,7 +39,7 @@ export function Navbar() {
</div>
{/* Center cluster: search */}
<div className='flex flex-1 items-center justify-center'>
<div className='flex flex-1 items-center justify-center pl-32'>
<SearchTrigger />
</div>
+1 -1
View File
@@ -15,7 +15,7 @@ export function SearchTrigger() {
return (
<button
type='button'
className='flex h-10 w-[500px] items-center gap-2 rounded-xl border border-border/50 px-3 py-2 text-sm backdrop-blur-xl transition-colors hover:border-border'
className='flex h-10 w-[460px] items-center gap-2 rounded-xl border border-border/50 px-3 py-2 text-sm backdrop-blur-xl transition-colors hover:border-border'
style={{
backgroundColor: 'hsla(0, 0%, 5%, 0.85)',
backdropFilter: 'blur(33px) saturate(180%)',