Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def add_sticky_header_css():
|
|
7 |
/* Make Streamlit's toolbar sticky */
|
8 |
[data-testid="stToolbar"] {
|
9 |
position: fixed;
|
10 |
-
|
11 |
right: 0;
|
12 |
z-index: 1000;
|
13 |
width: 100%;
|
@@ -27,16 +27,16 @@ def add_sticky_header_css():
|
|
27 |
}
|
28 |
|
29 |
/* Make Streamlit's BaseButton-header sticky */
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
|
41 |
/* Add padding to main content to prevent overlap with fixed header */
|
42 |
.main .block-container {
|
|
|
7 |
/* Make Streamlit's toolbar sticky */
|
8 |
[data-testid="stToolbar"] {
|
9 |
position: fixed;
|
10 |
+
top: 0;
|
11 |
right: 0;
|
12 |
z-index: 1000;
|
13 |
width: 100%;
|
|
|
27 |
}
|
28 |
|
29 |
/* Make Streamlit's BaseButton-header sticky */
|
30 |
+
[data-testid="stBaseButton-headerNoPadding"] {
|
31 |
+
position: fixed;
|
32 |
+
bottom: 0;
|
33 |
+
right: 0;
|
34 |
+
z-index: 1000;
|
35 |
+
background-color: yellow; /* #90EE90 */
|
36 |
+
padding: 5px;
|
37 |
+
border-top: 1px solid #f0f0f0;
|
38 |
+
width: 100%;
|
39 |
+
}
|
40 |
|
41 |
/* Add padding to main content to prevent overlap with fixed header */
|
42 |
.main .block-container {
|