Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -721,16 +721,26 @@ h3 {
|
|
| 721 |
line-height: 1.8 !important;
|
| 722 |
}
|
| 723 |
|
| 724 |
-
/*
|
| 725 |
-
[data-testid="
|
| 726 |
-
[data-testid="
|
| 727 |
-
[data-testid="
|
| 728 |
-
|
| 729 |
-
|
| 730 |
-
|
| 731 |
-
|
| 732 |
-
margin
|
| 733 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 734 |
}
|
| 735 |
</style>
|
| 736 |
""", unsafe_allow_html=True)
|
|
|
|
| 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)
|