Spaces:
Runtime error
Runtime error
Fix table bottom closure: add overflow hidden and last-row border
Browse filesTables were missing visual bottom closure due to content overflowing
the rounded border container. Added overflow:hidden to .table-wrap
and a 2px bottom border on the last row.
app.py
CHANGED
|
@@ -606,6 +606,11 @@ CUSTOM_CSS = """
|
|
| 606 |
.table-wrap {
|
| 607 |
border-radius: 12px !important;
|
| 608 |
border: 1px solid #e2e8f0 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 609 |
}
|
| 610 |
/* Override Gradio 6 internal: force nowrap on header text */
|
| 611 |
.header-content {
|
|
|
|
| 606 |
.table-wrap {
|
| 607 |
border-radius: 12px !important;
|
| 608 |
border: 1px solid #e2e8f0 !important;
|
| 609 |
+
overflow: hidden !important;
|
| 610 |
+
}
|
| 611 |
+
/* Ensure last row has a visible bottom border for table closure */
|
| 612 |
+
table tbody tr:last-child td {
|
| 613 |
+
border-bottom: 2px solid #e2e8f0 !important;
|
| 614 |
}
|
| 615 |
/* Override Gradio 6 internal: force nowrap on header text */
|
| 616 |
.header-content {
|