Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -670,6 +670,21 @@ h3 {
|
|
| 670 |
.stButton>button {
|
| 671 |
padding: calc(var(--base-font-size) * 0.7) calc(var(--base-font-size) * 1.2) !important;
|
| 672 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 673 |
</style>
|
| 674 |
""", unsafe_allow_html=True)
|
| 675 |
|
|
|
|
| 670 |
.stButton>button {
|
| 671 |
padding: calc(var(--base-font-size) * 0.7) calc(var(--base-font-size) * 1.2) !important;
|
| 672 |
}
|
| 673 |
+
/* اضافه کردن این بخش جدید */
|
| 674 |
+
[data-testid="stAppViewContainer"] img {
|
| 675 |
+
max-width: 100% !important;
|
| 676 |
+
height: auto !important;
|
| 677 |
+
display: block !important;
|
| 678 |
+
padding: 0 !important;
|
| 679 |
+
margin: 0 auto !important;
|
| 680 |
+
}
|
| 681 |
+
|
| 682 |
+
/* برای تضمین نمایش در حالت موبایل شبیهسازی شده */
|
| 683 |
+
@media (min-width: 768px) {
|
| 684 |
+
[data-testid="stAppViewContainer"] img {
|
| 685 |
+
max-width: 80px !important;
|
| 686 |
+
}
|
| 687 |
+
}
|
| 688 |
</style>
|
| 689 |
""", unsafe_allow_html=True)
|
| 690 |
|