Skip to content

Commit 966b4d5

Browse files
committed
fix: fix overflow on main app component
1 parent ad3a1af commit 966b4d5

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

GUI/ETVR/src/app.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ const app = () => {
3737
}
3838
})
3939
return (
40-
<>
40+
<div class="App overflow-y-auto">
4141
<ColorModeScript />
4242
<HopeProvider>
4343
<Suspense>
4444
<AppRoutes />
4545
</Suspense>
4646
</HopeProvider>
47-
</>
47+
</div>
4848
)
4949
}
5050

GUI/ETVR/src/pages/Home/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const Main = () => {
2424
<CustomPopover icon={icons.list} disablePopover={true} />
2525
</div>
2626
</div>
27-
<div class="py-[40px] flex flex-wrap">
27+
<div class="py-[40px] flex flex-wrap overflow-auto">
2828
<For each={cameras()}>{(camera) => <Camera {...camera} />}</For>
2929
</div>
3030
</div>

GUI/ETVR/src/styles/index.css

-2
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,13 @@ body {
5252
font-family: 'Ubuntu', sans-serif;
5353
cursor: default;
5454
background-color: transparent !important;
55-
/* color: #0b0c10; */
5655
width: 100%;
5756
height: 100%;
5857
text-align: center;
5958
font-size: 14px;
6059
}
6160

6261
.App {
63-
color: #0b0c10;
6462
text-align: center;
6563
height: 100vh;
6664
display: flex;

0 commit comments

Comments
 (0)