Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,30 @@
|
|
1 |
import streamlit as st
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
# --- SHARED ON ALL PAGES ---
|
4 |
st.logo(image="images/menu_book_60dp_75FBFD.png")
|
5 |
st.sidebar.title("SBS V2.0 mapper")
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
# Custom CSS to make the header sticky
|
4 |
+
st.markdown("""
|
5 |
+
<style>
|
6 |
+
.css-18e3th9 {
|
7 |
+
padding-top: 0rem;
|
8 |
+
padding-bottom: 0rem;
|
9 |
+
}
|
10 |
+
header {
|
11 |
+
position: fixed;
|
12 |
+
top: 0;
|
13 |
+
z-index: 999;
|
14 |
+
width: 100%;
|
15 |
+
background-color: white;
|
16 |
+
}
|
17 |
+
.block-container {
|
18 |
+
padding-top: 5rem;
|
19 |
+
}
|
20 |
+
</style>
|
21 |
+
""", unsafe_allow_html=True)
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
# --- SHARED ON ALL PAGES ---
|
29 |
st.logo(image="images/menu_book_60dp_75FBFD.png")
|
30 |
st.sidebar.title("SBS V2.0 mapper")
|