Spaces:
Build error
Build error
fix(frontend): use svh instead of vh for mobile behavior
Browse files
frontend/components/qa.tsx
CHANGED
@@ -52,7 +52,7 @@ export function QA() {
|
|
52 |
direction={isMobile ? "vertical" : "horizontal"}
|
53 |
className={cn(
|
54 |
"items-stretch h-full",
|
55 |
-
isMobile ? "min-h-
|
56 |
)}
|
57 |
>
|
58 |
<ResizablePanel defaultSize={defaultLayout[0]}>
|
|
|
52 |
direction={isMobile ? "vertical" : "horizontal"}
|
53 |
className={cn(
|
54 |
"items-stretch h-full",
|
55 |
+
isMobile ? "min-h-[100svh]" : "max-h-[100svh]",
|
56 |
)}
|
57 |
>
|
58 |
<ResizablePanel defaultSize={defaultLayout[0]}>
|