Spaces:
Running
on
T4
Running
on
T4
sidebar fixed
Browse files- pages/Semantic_Search.py +19 -19
pages/Semantic_Search.py
CHANGED
@@ -49,25 +49,25 @@ st.markdown("""
|
|
49 |
}
|
50 |
</style>
|
51 |
""", unsafe_allow_html=True)
|
52 |
-
st.markdown("""
|
53 |
-
<style>
|
54 |
-
/* 1. Fix only the inner sidebar user content */
|
55 |
-
div[data-testid="stSidebarUserContent"] {
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
}
|
64 |
-
|
65 |
-
/* 2. Optional: Prevent double scroll bar from outer sidebar (only if needed) */
|
66 |
-
div[data-testid="stSidebarContent"] {
|
67 |
-
|
68 |
-
}
|
69 |
-
</style>
|
70 |
-
""", unsafe_allow_html=True)
|
71 |
|
72 |
|
73 |
|
|
|
49 |
}
|
50 |
</style>
|
51 |
""", unsafe_allow_html=True)
|
52 |
+
# st.markdown("""
|
53 |
+
# <style>
|
54 |
+
# /* 1. Fix only the inner sidebar user content */
|
55 |
+
# div[data-testid="stSidebarUserContent"] {
|
56 |
+
# position: fixed;
|
57 |
+
# top: 0;
|
58 |
+
# left: 0;
|
59 |
+
# height: 100vh;
|
60 |
+
# overflow-y: auto;
|
61 |
+
# width: inherit;
|
62 |
+
# z-index: 999;
|
63 |
+
# }
|
64 |
+
|
65 |
+
# /* 2. Optional: Prevent double scroll bar from outer sidebar (only if needed) */
|
66 |
+
# div[data-testid="stSidebarContent"] {
|
67 |
+
# overflow: hidden !important;
|
68 |
+
# }
|
69 |
+
# </style>
|
70 |
+
# """, unsafe_allow_html=True)
|
71 |
|
72 |
|
73 |
|