Skip to content

Commit d049671

Browse files
authored
Change layout direction to column and update padding
Changed layout direction of main container to column and adjusted sidebar padding.
1 parent b5a2e7c commit d049671

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

web/styles.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ main {
1515
border-radius: 3dvw;
1616
overflow: hidden;
1717
display: flex;
18-
flex-direction: row;
18+
flex-direction: column;
1919
}
2020

2121
.header-bar {
@@ -27,9 +27,7 @@ main {
2727
display: flex;
2828
align-items: center;
2929
justify-content: space-between;
30-
position: absolute;
31-
top: 0;
32-
left: 0;
30+
flex-shrink: 0;
3331
}
3432

3533
.app-title {
@@ -52,15 +50,21 @@ main {
5250
border-radius: 50%;
5351
}
5452

53+
.content-area {
54+
display: flex;
55+
height: calc(100% - 5dvh);
56+
width: 100%;
57+
}
58+
5559
.sidebar {
5660
background-color: #e5e5e5;
5761
width: 20dvw;
5862
height: 100%;
59-
padding-top: 7dvh;
6063
display: flex;
6164
flex-direction: column;
6265
font-family: "Aptos", "Arial", sans-serif;
6366
gap: 3dvh;
67+
padding-top: 3dvh;
6468
}
6569

6670
.sidebar-item {

0 commit comments

Comments
 (0)