Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -398,23 +398,14 @@ def make_key(row) -> tuple[str, str]:
|
|
| 398 |
# βββββββββββββββββββββββββββββββββββββ streamlit μμ μ μΈ
|
| 399 |
st.set_page_config(page_title="μ¬νμ λͺ¨λν¬μ΄ : λͺ¨μ(MoAi)", layout="centered")
|
| 400 |
|
| 401 |
-
SIDEBAR_W = 340 # νμμ μ¬μ΄λλ° νλ§ λ°κΎΈμΈμ
|
| 402 |
-
|
| 403 |
st.markdown(f"""
|
| 404 |
<style>
|
| 405 |
-
:root {{ --sidebar-w: {SIDEBAR_W}px; }}
|
| 406 |
-
|
| 407 |
/* 1) μ¬μ΄λλ°λ₯Ό λ·°ν¬νΈμ κ³ μ */
|
| 408 |
aside[data-testid="stSidebar"], [data-testid="stSidebar"] {{
|
| 409 |
position: fixed !important;
|
| 410 |
inset: 0 auto 0 0; /* top:0; right:auto; bottom:0; left:0 */
|
| 411 |
-
width: var(--sidebar-w) !important;
|
| 412 |
-
min-width: var(--sidebar-w) !important;
|
| 413 |
-
max-width: var(--sidebar-w) !important;
|
| 414 |
height: 100vh !important;
|
| 415 |
z-index: 1000;
|
| 416 |
-
background: var(--sidebar-background-color, #ffffff);
|
| 417 |
-
border-right: 1px solid rgba(0,0,0,0.06);
|
| 418 |
}}
|
| 419 |
</style>
|
| 420 |
""", unsafe_allow_html=True)
|
|
|
|
| 398 |
# βββββββββββββββββββββββββββββββββββββ streamlit μμ μ μΈ
|
| 399 |
st.set_page_config(page_title="μ¬νμ λͺ¨λν¬μ΄ : λͺ¨μ(MoAi)", layout="centered")
|
| 400 |
|
|
|
|
|
|
|
| 401 |
st.markdown(f"""
|
| 402 |
<style>
|
|
|
|
|
|
|
| 403 |
/* 1) μ¬μ΄λλ°λ₯Ό λ·°ν¬νΈμ κ³ μ */
|
| 404 |
aside[data-testid="stSidebar"], [data-testid="stSidebar"] {{
|
| 405 |
position: fixed !important;
|
| 406 |
inset: 0 auto 0 0; /* top:0; right:auto; bottom:0; left:0 */
|
|
|
|
|
|
|
|
|
|
| 407 |
height: 100vh !important;
|
| 408 |
z-index: 1000;
|
|
|
|
|
|
|
| 409 |
}}
|
| 410 |
</style>
|
| 411 |
""", unsafe_allow_html=True)
|