Skip to content

Commit de4ccfc

Browse files
committed
fix: content render in relation to header
- move content under header - move scrollbar within header and bottom of viewport
1 parent 953d132 commit de4ccfc

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

GUI/ETVR/src/routes/Routes.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ const AppRoutes = () => {
2323
name={connectedUserName() ? `Welcome ${connectedUserName()}` : 'Welcome!'}
2424
/>
2525
</div>
26-
<Path />
26+
<div class="pt-[70px]">
27+
<Path />
28+
</div>
2729
</main>
2830
)
2931
}

GUI/ETVR/src/styles/header-wrapper.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
flex-direction: row;
1616
justify-content: space-around;
1717
position: fixed;
18-
top: calc(titlebar - 35px);
18+
top: calc(titlebar - 30px);
1919
left: 0;
2020
right: 0;
2121
z-index: 1;

GUI/ETVR/src/styles/scrollbar.css

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
/* width */
22
::-webkit-scrollbar {
3-
width: 6px;
3+
width: 6px;
44
}
55

66
/* Track */
77
::-webkit-scrollbar-track {
8-
box-shadow: inset 0 0 5px grey;
9-
border-radius: 10px;
8+
box-shadow: inset 0 0 5px grey;
9+
border-radius: 10px;
10+
margin-top: 99px;
11+
margin-bottom: 45px;
1012
}
1113

1214
/* Handle */
1315
::-webkit-scrollbar-thumb {
14-
background: #6d7faeb4;
15-
border-radius: 10px;
16+
background: #6d7faeb4;
17+
border-radius: 10px;
1618
}
1719

1820
/* Handle on hover */
1921
::-webkit-scrollbar-thumb:hover {
20-
background: #6d7fae;
21-
}
22+
background: #6d7fae;
23+
}

0 commit comments

Comments
 (0)