Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -715,33 +715,10 @@ h3 {
|
|
| 715 |
padding-right: 25px !important;
|
| 716 |
}
|
| 717 |
|
| 718 |
-
|
| 719 |
-
[data-testid="stAppViewContainer"] p {
|
| 720 |
margin-bottom: 1em !important;
|
| 721 |
line-height: 1.8 !important;
|
| 722 |
}
|
| 723 |
-
|
| 724 |
-
/* ======== Reset کامل margin برای تمام دکمهها ======== */
|
| 725 |
-
[data-testid="stButton"] > button,
|
| 726 |
-
[data-testid="baseButton-primary"],
|
| 727 |
-
[data-testid="baseButton-secondary"],
|
| 728 |
-
.stButton > button,
|
| 729 |
-
.stFormSubmitButton > button,
|
| 730 |
-
.stDownloadButton > button,
|
| 731 |
-
.stActionButton > button {
|
| 732 |
-
margin: 0 !important; /* حذف تمام margin ها */
|
| 733 |
-
margin-top: 0 !important;
|
| 734 |
-
margin-bottom: 0 !important;
|
| 735 |
-
margin-left: 0 !important;
|
| 736 |
-
margin-right: 0 !important;
|
| 737 |
-
padding: 10px 20px !important; /* حفظ padding داخلی */
|
| 738 |
-
}
|
| 739 |
-
|
| 740 |
-
/* حذف margin برای container دکمهها */
|
| 741 |
-
[data-testid="stHorizontalBlock"] > div > div > div > button,
|
| 742 |
-
[data-testid="stVerticalBlock"] > div > div > button {
|
| 743 |
-
margin: 0 !important;
|
| 744 |
-
}
|
| 745 |
</style>
|
| 746 |
""", unsafe_allow_html=True)
|
| 747 |
|
|
|
|
| 715 |
padding-right: 25px !important;
|
| 716 |
}
|
| 717 |
|
| 718 |
+
[data-testid="stAppViewContainer"] p:not(.stButton p):not(.stDownloadButton p):not(.stFormSubmitButton p) {
|
|
|
|
| 719 |
margin-bottom: 1em !important;
|
| 720 |
line-height: 1.8 !important;
|
| 721 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 722 |
</style>
|
| 723 |
""", unsafe_allow_html=True)
|
| 724 |
|