Skip to content

Commit 8597119

Browse files
authored
fix(docs): made sidebar directories scrollable, stylistic changes (#1702)
1 parent c178a90 commit 8597119

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/docs/components/docs-layout/sidebar-components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function SidebarFolder({
9797
<div
9898
className={cn(
9999
'overflow-hidden transition-all duration-200 ease-in-out',
100-
open ? 'max-h-[2000px] opacity-100' : 'max-h-0 opacity-0'
100+
open ? 'max-h-[10000px] opacity-100' : 'max-h-0 opacity-0'
101101
)}
102102
>
103103
<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'>

apps/docs/components/navbar/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function Navbar() {
3939
</div>
4040

4141
{/* Center cluster: search */}
42-
<div className='flex flex-1 items-center justify-center'>
42+
<div className='flex flex-1 items-center justify-center pl-32'>
4343
<SearchTrigger />
4444
</div>
4545

apps/docs/components/ui/search-trigger.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function SearchTrigger() {
1515
return (
1616
<button
1717
type='button'
18-
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'
18+
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'
1919
style={{
2020
backgroundColor: 'hsla(0, 0%, 5%, 0.85)',
2121
backdropFilter: 'blur(33px) saturate(180%)',

0 commit comments

Comments
 (0)