fix header sort click bug
Browse files
app.py
CHANGED
|
@@ -445,6 +445,13 @@ def build_demo() -> gr.Blocks:
|
|
| 445 |
height: 100%;
|
| 446 |
cursor: pointer;
|
| 447 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 448 |
"""
|
| 449 |
|
| 450 |
with gr.Blocks(
|
|
|
|
| 445 |
height: 100%;
|
| 446 |
cursor: pointer;
|
| 447 |
}
|
| 448 |
+
/* Prevent the descending sort class from shrinking the clickable area by forming a new containing block */
|
| 449 |
+
#leaderboard-table table th .sort-button.des {
|
| 450 |
+
transform: none !important;
|
| 451 |
+
}
|
| 452 |
+
#leaderboard-table table th .sort-button.des svg {
|
| 453 |
+
transform: scaleY(-1);
|
| 454 |
+
}
|
| 455 |
"""
|
| 456 |
|
| 457 |
with gr.Blocks(
|