Skip to content

Commit cbaa32b

Browse files
committed
refactor
1 parent 1aae4c5 commit cbaa32b

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

pages/static/style.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,45 @@ body * {
66
color: #3e3e3f;
77
}
88

9+
/* Remove excessive space at the top for mobile view */
10+
@media (max-width: 600px) {
11+
body {
12+
margin-top: 0 !important;
13+
padding-top: 0 !important;
14+
}
15+
16+
[data-testid="stAppViewContainer"] {
17+
margin-top: 0 !important;
18+
padding-top: 0 !important;
19+
}
20+
21+
/* Reduce header height */
22+
.stAppHeader {
23+
height: 40px !important;
24+
min-height: 40px !important;
25+
padding: 0 !important;
26+
}
27+
28+
/* Reduce toolbar height */
29+
.stAppToolbar {
30+
height: 40px !important;
31+
min-height: 40px !important;
32+
padding: 4px 8px !important;
33+
}
34+
35+
/* Reduce main container top spacing */
36+
.stMain {
37+
padding-top: 0 !important;
38+
margin-top: 0 !important;
39+
}
40+
41+
/* Reduce main block container top spacing */
42+
.stMainBlockContainer {
43+
padding-top: 0.5rem !important;
44+
margin-top: 0 !important;
45+
}
46+
}
47+
948

1049
/* start.py */
1150

0 commit comments

Comments
 (0)