prasadnu commited on
Commit
b5148de
·
1 Parent(s): 47287da

sidebar fixed

Browse files
Files changed (1) hide show
  1. 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
- 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
 
 
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