File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
routes/advanced-mode/matchmaking-track Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import { ScrollArea } from '../components/ui/scroll-area'
1010import logoLaucher from '../_assets/aerial-launcher.png'
1111
1212import { whatIsThis } from '../lib/callbacks'
13- import { cn } from '../lib/utils'
1413
1514export function MainLayout ( { children } : PropsWithChildren ) {
1615 return (
@@ -36,15 +35,14 @@ export function MainLayout({ children }: PropsWithChildren) {
3635 </ div >
3736 < div className = "flex flex-col" >
3837 < Header />
39- < main className = "" >
40- < ScrollArea
41- viewportClassName = { cn (
42- 'main-wrapper-content [&>div]:!flex [&>div]:flex-col [&>div]:gap-4 [&>div]:h-[calc(100vh-var(--header-height))] [&>div]:p-4 [&>div]:relative [&>div]:lg:gap-6 [&>div]:lg:p-6'
43- ) }
44- >
38+ < ScrollArea
39+ className = "h-[calc(100vh-var(--header-height))]"
40+ viewportClassName = "main-wrapper-content"
41+ >
42+ < main className = "flex flex-col gap-4 h-full min-h-[calc(100vh-var(--header-height))] p-4 relative lg:gap-6 lg:p-6" >
4543 { children }
46- </ ScrollArea >
47- </ main >
44+ </ main >
45+ </ ScrollArea >
4846 </ div >
4947 </ div >
5048 )
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ function Content() {
117117
118118 return (
119119 < div className = "flex flex-grow" >
120- < div className = "flex items-center justify-center mb-10 w-full" >
120+ < div className = "flex items-center justify-center w-full" >
121121 < div className = "flex flex-col gap-5 max-w-lg w-full" >
122122 < Card >
123123 < CardHeader className = "border-b" >
You can’t perform that action at this time.
0 commit comments