hizeny commited on
Commit
8173cc1
·
1 Parent(s): 4ddbdae

fix(frontend): use svh instead of vh for mobile behavior

Browse files
Files changed (1) hide show
  1. frontend/components/qa.tsx +1 -1
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-screen" : "max-h-screen",
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]}>