FauziIsyrinApridal commited on
Commit
ec9690d
·
1 Parent(s): 59b48be
Files changed (1) hide show
  1. pages/reset_password.py +16 -1
pages/reset_password.py CHANGED
@@ -9,7 +9,22 @@ def main():
9
 
10
  st.set_page_config(
11
  page_title="Reset Password - PNP Bot",
12
- page_icon="assets/favicon.ico",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  )
14
 
15
  # Center the content
 
9
 
10
  st.set_page_config(
11
  page_title="Reset Password - PNP Bot",
12
+ page_icon="assets/favicon.ico",
13
+ initial_sidebar_state="collapsed",
14
+ )
15
+ # Hide Streamlit sidebar and multipage navigator for this page
16
+ st.markdown(
17
+ """
18
+ <style>
19
+ /* Hide full sidebar area */
20
+ [data-testid="stSidebar"] { display: none !important; }
21
+ /* Hide the multipage navigator that normally appears in the sidebar */
22
+ [data-testid="stSidebarNav"] { display: none !important; }
23
+ /* Expand main content to full width since sidebar is hidden */
24
+ [data-testid="stAppViewContainer"] > .main { width: 100%; }
25
+ </style>
26
+ """,
27
+ unsafe_allow_html=True,
28
  )
29
 
30
  # Center the content