Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1690,18 +1690,21 @@ def main():
|
|
| 1690 |
st.session_state.is_desktop = "mobile" not in user_agent.lower()
|
| 1691 |
st.markdown("""
|
| 1692 |
<style>
|
| 1693 |
-
/* مخفی کردن نوار ابزار
|
| 1694 |
[data-testid="stToolbar"] {
|
| 1695 |
display: none !important;
|
| 1696 |
}
|
| 1697 |
-
/*
|
| 1698 |
header {
|
| 1699 |
-
|
| 1700 |
-
|
| 1701 |
-
|
| 1702 |
-
.stApp > header {
|
| 1703 |
visibility: hidden !important;
|
| 1704 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1705 |
</style>
|
| 1706 |
""", unsafe_allow_html=True)
|
| 1707 |
|
|
|
|
| 1690 |
st.session_state.is_desktop = "mobile" not in user_agent.lower()
|
| 1691 |
st.markdown("""
|
| 1692 |
<style>
|
| 1693 |
+
/* مخفی کردن نوار ابزار */
|
| 1694 |
[data-testid="stToolbar"] {
|
| 1695 |
display: none !important;
|
| 1696 |
}
|
| 1697 |
+
/* تنظیم هدر برای حذف فضای خالی */
|
| 1698 |
header {
|
| 1699 |
+
height: 0 !important;
|
| 1700 |
+
padding: 0 !important;
|
| 1701 |
+
margin: 0 !important;
|
|
|
|
| 1702 |
visibility: hidden !important;
|
| 1703 |
}
|
| 1704 |
+
/* اطمینان از اینکه محتوای اصلی به بالا بیاد */
|
| 1705 |
+
.stApp {
|
| 1706 |
+
margin-top: 0 !important;
|
| 1707 |
+
}
|
| 1708 |
</style>
|
| 1709 |
""", unsafe_allow_html=True)
|
| 1710 |
|