Skip to content

Commit 1e45527

Browse files
authored
Refactor styles for title and panel alignment
Adjusted margin for title and modified panel alignment.
1 parent 77c48b5 commit 1e45527

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ main {
8484
font-size: 5dvw;
8585
font-family: "Arial", sans-serif;
8686
text-align: center;
87-
margin: 5px auto 0 auto;
88-
width: fit-content;
87+
margin: 0; /* you can remove margin auto now */
8988
}
9089

9190
.panel {
9291
flex: 1;
9392
display: flex;
94-
justify-content: center;
95-
align-items: center;
93+
justify-content: center; /* horizontal center */
94+
align-items: flex-start; /* align to top */
95+
padding-top: 5px; /* optional: some spacing from top */
9696
}

0 commit comments

Comments
 (0)