File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
apps/client/src/pages/dashboard/resumes Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,10 @@ export const ResumesPage = () => {
49
49
</ TabsList >
50
50
</ div >
51
51
52
- < ScrollArea className = "h-[calc(100vh-140px)] lg:h-[calc(100vh-88px)]" >
52
+ < ScrollArea
53
+ className = "h-[calc(100vh-140px)] overflow-visible lg:h-[calc(100vh-88px)]"
54
+ allowOverflow = { true }
55
+ >
53
56
< TabsContent value = "grid" >
54
57
< GridView />
55
58
</ TabsContent >
Original file line number Diff line number Diff line change @@ -7,13 +7,15 @@ export const ScrollArea = forwardRef<
7
7
React . ComponentPropsWithoutRef < typeof ScrollAreaPrimitive . Root > & {
8
8
hideScrollbar ?: boolean ;
9
9
orientation ?: "vertical" | "horizontal" ;
10
+ allowOverflow ?: boolean ;
10
11
}
11
12
> (
12
13
(
13
14
{
14
15
type = "scroll" ,
15
16
orientation = "vertical" ,
16
17
hideScrollbar = false ,
18
+ allowOverflow = false ,
17
19
className,
18
20
children,
19
21
...props
@@ -26,7 +28,10 @@ export const ScrollArea = forwardRef<
26
28
className = { cn ( "relative overflow-hidden" , className ) }
27
29
{ ...props }
28
30
>
29
- < ScrollAreaPrimitive . Viewport className = "size-full rounded-[inherit]" >
31
+ < ScrollAreaPrimitive . Viewport
32
+ className = "size-full rounded-[inherit]"
33
+ style = { allowOverflow ? { overflowX : "visible" , overflowY : "visible" } : { } }
34
+ >
30
35
{ children }
31
36
</ ScrollAreaPrimitive . Viewport >
32
37
< ScrollBar orientation = { orientation } className = { cn ( hideScrollbar && "opacity-0" ) } />
You can’t perform that action at this time.
0 commit comments