prasadnu commited on
Commit
1387441
·
1 Parent(s): 6b5417f

sidebar fixed

Browse files
Files changed (2) hide show
  1. pages/Semantic_Search.py +22 -22
  2. requirements.txt +1 -1
pages/Semantic_Search.py CHANGED
@@ -49,28 +49,28 @@ st.markdown("""
49
  }
50
  </style>
51
  """, unsafe_allow_html=True)
52
- st.markdown("""
53
- <style>
54
- /* Fix the actual sidebar content container */
55
- div[data-testid="stSidebarContent"] {
56
- position: fixed;
57
- top: 0;
58
- left: 0;
59
- height: 100vh;
60
- width: 21rem; /* match your current sidebar width */
61
- overflow-y: auto;
62
- z-index: 100;
63
- background-color: #0e1117;
64
- border-right: 1px solid #333;
65
- padding-top: 1rem;
66
- }
67
-
68
- /* Prevent main app content from being covered by fixed sidebar */
69
- div[data-testid="stAppViewContainer"] > div:nth-child(1) {
70
- margin-left: 21rem; /* same width as the fixed sidebar */
71
- }
72
- </style>
73
- """, unsafe_allow_html=True)
74
 
75
  #ps = PorterStemmer()
76
 
 
49
  }
50
  </style>
51
  """, unsafe_allow_html=True)
52
+ # st.markdown("""
53
+ # <style>
54
+ # /* Fix the actual sidebar content container */
55
+ # div[data-testid="stSidebarContent"] {
56
+ # position: fixed;
57
+ # top: 0;
58
+ # left: 0;
59
+ # height: 100vh;
60
+ # width: 21rem; /* match your current sidebar width */
61
+ # overflow-y: auto;
62
+ # z-index: 100;
63
+ # background-color: #0e1117;
64
+ # border-right: 1px solid #333;
65
+ # padding-top: 1rem;
66
+ # }
67
+
68
+ # /* Prevent main app content from being covered by fixed sidebar */
69
+ # div[data-testid="stAppViewContainer"] > div:nth-child(1) {
70
+ # margin-left: 21rem; /* same width as the fixed sidebar */
71
+ # }
72
+ # </style>
73
+ # """, unsafe_allow_html=True)
74
 
75
  #ps = PorterStemmer()
76
 
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- streamlit==1.32.0
2
  boto3==1.35.4
3
  requests_aws4auth==1.3.1
4
  opensearch-py==2.7.1
 
1
+ streamlit==1.31.0
2
  boto3==1.35.4
3
  requests_aws4auth==1.3.1
4
  opensearch-py==2.7.1