Skip to content

Commit e40ad32

Browse files
authored
Update styles.css
1 parent 8c2712f commit e40ad32

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

web/styles.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,23 @@ main {
6060
background-color: #e5e5e5;
6161
width: 20dvw;
6262
height: 100%;
63+
padding-top: 7dvh;
64+
padding-left: 2dvw;
65+
box-sizing: border-box;
6366
display: flex;
6467
flex-direction: column;
6568
font-family: "Aptos", "Arial", sans-serif;
6669
gap: 3dvh;
67-
padding-top: 3dvh;
6870
}
6971

7072
.sidebar-item {
7173
cursor: pointer;
7274
background-color: skyblue;
7375
height: 5dvh;
7476
width: 100%;
75-
padding-left: 2dvw;
77+
/* Remove padding-left, it’s handled by sidebar */
7678
display: flex;
7779
align-items: center;
7880
font-size: clamp(1.6dvh, 2.2dvh, 3dvh);
81+
box-sizing: border-box;
7982
}

0 commit comments

Comments
 (0)