PeanutUp commited on
Commit
7f6d18c
·
1 Parent(s): 1e84160

fix header sort click bug

Browse files
Files changed (1) hide show
  1. app.py +7 -0
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(