Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -528,6 +528,44 @@ h3 {
|
|
| 528 |
.stButton>button {
|
| 529 |
padding: calc(var(--base-font-size) * 0.7) calc(var(--base-font-size) * 1.2) !important;
|
| 530 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 531 |
</style>
|
| 532 |
""", unsafe_allow_html=True)
|
| 533 |
|
|
|
|
| 528 |
.stButton>button {
|
| 529 |
padding: calc(var(--base-font-size) * 0.7) calc(var(--base-font-size) * 1.2) !important;
|
| 530 |
}
|
| 531 |
+
|
| 532 |
+
@media (min-width: 768px) {
|
| 533 |
+
/* بازنشانی کامل استایلهای Streamlit */
|
| 534 |
+
[class^="st-"], [class*=" st-"] {
|
| 535 |
+
padding-left: 0 !important;
|
| 536 |
+
padding-right: 0 !important;
|
| 537 |
+
margin-left: 0 !important;
|
| 538 |
+
margin-right: 0 !important;
|
| 539 |
+
}
|
| 540 |
+
|
| 541 |
+
/* تنظیمات ویژه برای عناصر داخلی */
|
| 542 |
+
.stMarkdown > div,
|
| 543 |
+
.stTextInput > div,
|
| 544 |
+
.stNumberInput > div,
|
| 545 |
+
.stSelectbox > div {
|
| 546 |
+
padding: 0 !important;
|
| 547 |
+
margin: 0 !important;
|
| 548 |
+
}
|
| 549 |
+
|
| 550 |
+
/* تنظیمات ورودیها */
|
| 551 |
+
.stTextInput input,
|
| 552 |
+
.stNumberInput input,
|
| 553 |
+
.stSelectbox select {
|
| 554 |
+
width: 100% !important;
|
| 555 |
+
max-width: 100% !important;
|
| 556 |
+
transform: none !important;
|
| 557 |
+
left: 0 !important;
|
| 558 |
+
}
|
| 559 |
+
|
| 560 |
+
/* نقشه */
|
| 561 |
+
.folium-map {
|
| 562 |
+
width: calc(100% + 24px) !important;
|
| 563 |
+
margin-left: -12px !important;
|
| 564 |
+
margin-right: -12px !important;
|
| 565 |
+
position: relative !important;
|
| 566 |
+
left: -12px !important;
|
| 567 |
+
}
|
| 568 |
+
}
|
| 569 |
</style>
|
| 570 |
""", unsafe_allow_html=True)
|
| 571 |
|