rtetley commited on
Commit
fef2765
Β·
verified Β·
1 Parent(s): 8b23f6c

fix: make table smaller

Browse files
frontend/src/pages/LeaderboardPage/components/Leaderboard/components/Table/Table.jsx CHANGED
@@ -35,7 +35,7 @@ const NoResultsFound = () => (
35
  justifyContent: "center",
36
  py: 8,
37
  textAlign: "center",
38
- height: "100%",
39
  backgroundColor: "background.paper",
40
  }}
41
  >
@@ -483,7 +483,7 @@ const LeaderboardTable = ({
483
  />
484
  <Paper
485
  sx={{
486
- height: "calc(100vh - 380px)",
487
  minHeight: "500px",
488
  resize: "vertical",
489
  overflow: "hidden",
@@ -554,7 +554,7 @@ const LeaderboardTable = ({
554
  <Paper
555
  elevation={0}
556
  sx={{
557
- height: "calc(100vh - 380px)",
558
  minHeight: "500px",
559
  resize: "vertical",
560
  overflow: "hidden",
 
35
  justifyContent: "center",
36
  py: 8,
37
  textAlign: "center",
38
+ height: "500px",
39
  backgroundColor: "background.paper",
40
  }}
41
  >
 
483
  />
484
  <Paper
485
  sx={{
486
+ height: "500px",
487
  minHeight: "500px",
488
  resize: "vertical",
489
  overflow: "hidden",
 
554
  <Paper
555
  elevation={0}
556
  sx={{
557
+ height: "500px",
558
  minHeight: "500px",
559
  resize: "vertical",
560
  overflow: "hidden",