Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/docs/components/docs-layout/sidebar-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Using a fixed max-h value for animation limits scalability. Consider using max-h-screen or implementing proper scrolling with overflow-y-auto if content exceeds 10000px.

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/components/docs-layout/sidebar-components.tsx
Line: 100:100

Comment:
**style:** Using a fixed `max-h` value for animation limits scalability. Consider using `max-h-screen` or implementing proper scrolling with `overflow-y-auto` if content exceeds 10000px.

How can I resolve this? If you propose a fix, please make it concise.

)}
>
<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'>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/ui/search-trigger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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%)',
Expand Down