Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,25 +54,18 @@ st.markdown("""
|
|
| 54 |
html, body, .stApp {
|
| 55 |
max-width: 768px !important; /* حداکثر عرض صفحه */
|
| 56 |
margin: 0 auto; /* وسطچین کردن محتوا */
|
| 57 |
-
width: 100% !important
|
| 58 |
}
|
| 59 |
|
| 60 |
-
@media (min-width: 768px) {
|
| 61 |
-
/* Reset default margins and padding */
|
| 62 |
-
html, body {
|
| 63 |
-
margin: 0 !important;
|
| 64 |
-
padding: 0 !important;
|
| 65 |
-
background: #f0f0f0 !important; /* رنگ پسزمینه خاکستری روشن */
|
| 66 |
-
height: 100vh !important;
|
| 67 |
-
overflow: hidden !important;
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
/* Container for the mobile frame */
|
| 71 |
body {
|
|
|
|
| 72 |
display: flex !important;
|
| 73 |
justify-content: center !important;
|
| 74 |
align-items: center !important;
|
| 75 |
-
|
|
|
|
| 76 |
}
|
| 77 |
|
| 78 |
/* Mobile frame styling */
|
|
@@ -92,7 +85,6 @@ html, body, .stApp {
|
|
| 92 |
scrollbar-width: thin !important;
|
| 93 |
scrollbar-color: #6a0dad #f0f0f0 !important;
|
| 94 |
direction: rtl !important;
|
| 95 |
-
position: relative !important;
|
| 96 |
}
|
| 97 |
|
| 98 |
/* Remove any potential dark background from parent elements */
|
|
|
|
| 54 |
html, body, .stApp {
|
| 55 |
max-width: 768px !important; /* حداکثر عرض صفحه */
|
| 56 |
margin: 0 auto; /* وسطچین کردن محتوا */
|
| 57 |
+
width: 100% !important
|
| 58 |
}
|
| 59 |
|
| 60 |
+
@media (min-width: 768px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
/* Container for the mobile frame */
|
| 62 |
body {
|
| 63 |
+
background: #f0f0f0 !important;
|
| 64 |
display: flex !important;
|
| 65 |
justify-content: center !important;
|
| 66 |
align-items: center !important;
|
| 67 |
+
height: 100vh !important;
|
| 68 |
+
overflow: hidden !important;
|
| 69 |
}
|
| 70 |
|
| 71 |
/* Mobile frame styling */
|
|
|
|
| 85 |
scrollbar-width: thin !important;
|
| 86 |
scrollbar-color: #6a0dad #f0f0f0 !important;
|
| 87 |
direction: rtl !important;
|
|
|
|
| 88 |
}
|
| 89 |
|
| 90 |
/* Remove any potential dark background from parent elements */
|