Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -148,28 +148,26 @@ st.markdown("""
|
|
| 148 |
.stTextInput input,
|
| 149 |
.stNumberInput input,
|
| 150 |
.stSelectbox select {
|
| 151 |
-
width: 100% !important;
|
| 152 |
-
max-width: 100% !important;
|
| 153 |
}
|
| 154 |
|
| 155 |
/* ======== نقشه ======== */
|
| 156 |
.folium-map {
|
| 157 |
-
width: 100% !important;
|
| 158 |
-
height:
|
| 159 |
}
|
| 160 |
|
| 161 |
/* ======== تنظیمات موبایل واقعی ======== */
|
| 162 |
@media (max-width: 767px) {
|
| 163 |
[data-testid="stAppViewContainer"] {
|
| 164 |
-
max-width: 100% !important;
|
| 165 |
border: none !important;
|
| 166 |
border-radius: 0 !important;
|
| 167 |
box-shadow: none !important;
|
| 168 |
}
|
| 169 |
}
|
| 170 |
|
| 171 |
-
/* بقیه استایلهای شما دقیقاً مانند قبل باقی میمانند */
|
| 172 |
-
/* ... */
|
| 173 |
</style>
|
| 174 |
|
| 175 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
| 148 |
.stTextInput input,
|
| 149 |
.stNumberInput input,
|
| 150 |
.stSelectbox select {
|
| 151 |
+
width: 100% + 20x !important;
|
| 152 |
+
max-width: 100% + 20x !important;
|
| 153 |
}
|
| 154 |
|
| 155 |
/* ======== نقشه ======== */
|
| 156 |
.folium-map {
|
| 157 |
+
width: 100% + 20x !important;
|
| 158 |
+
height: 200px !important;
|
| 159 |
}
|
| 160 |
|
| 161 |
/* ======== تنظیمات موبایل واقعی ======== */
|
| 162 |
@media (max-width: 767px) {
|
| 163 |
[data-testid="stAppViewContainer"] {
|
| 164 |
+
max-width: 100% + 20x !important;
|
| 165 |
border: none !important;
|
| 166 |
border-radius: 0 !important;
|
| 167 |
box-shadow: none !important;
|
| 168 |
}
|
| 169 |
}
|
| 170 |
|
|
|
|
|
|
|
| 171 |
</style>
|
| 172 |
|
| 173 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|