minhthong commited on
Commit
d5d066d
1 Parent(s): a0625c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -5,14 +5,16 @@ import streamlit_antd_components as sac
5
  # Cấu hình trang web với chế độ wide mode
6
  st.set_page_config(layout="wide")
7
 
8
-
9
- # CSS để ẩn sidebar mặc định
10
- no_sidebar_style = """
11
  <style>
 
 
 
12
  div[data-testid="stSidebarNav"] {display: none;}
13
  </style>
14
  """
15
- st.markdown(no_sidebar_style, unsafe_allow_html=True)
16
 
17
  # Tạo menu trong sidebar
18
  with st.sidebar:
 
5
  # Cấu hình trang web với chế độ wide mode
6
  st.set_page_config(layout="wide")
7
 
8
+ # CSS để thiết lập nền trắng và ẩn sidebar mặc định
9
+ custom_style = """
 
10
  <style>
11
+ body {
12
+ background-color: white;
13
+ }
14
  div[data-testid="stSidebarNav"] {display: none;}
15
  </style>
16
  """
17
+ st.markdown(custom_style, unsafe_allow_html=True)
18
 
19
  # Tạo menu trong sidebar
20
  with st.sidebar: