File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -308,9 +308,12 @@ function DropdownMenu({
308308 style = { { pointerEvents : 'auto' } }
309309 >
310310 { /* Menu Content */ }
311- < div className = "bg-background/95 backdrop-blur-xl border border-border/80 rounded-xl shadow-2xl shadow-black/20 dark:shadow-black/50 overflow-y-auto w-[420px] max-w-[90vw] max-h-[calc(100vh-120px)] ring-1 ring-white/10" >
312- < div className = "p-6 bg-linear-to-br from-background/50 to-muted/20" >
313- < div className = "grid grid-cols-1 gap-6" >
311+ < div className = { cn (
312+ 'bg-background/95 backdrop-blur-xl border border-border/80 rounded-xl shadow-2xl shadow-black/20 dark:shadow-black/50 ring-1 ring-white/10' ,
313+ sections . length > 1 ? 'w-[680px] max-w-[90vw]' : 'w-[340px] max-w-[90vw]'
314+ ) } >
315+ < div className = "p-5 bg-linear-to-br from-background/50 to-muted/20" >
316+ < div className = { cn ( 'grid gap-6' , sections . length > 1 ? 'grid-cols-2' : 'grid-cols-1' ) } >
314317 { sections . map ( ( section , sectionIndex ) => (
315318 < div key = { sectionIndex } className = "space-y-3" >
316319 { /* Section Header */ }
You can’t perform that action at this time.
0 commit comments