From 349483553b60f215dad142a141238337c6690864 Mon Sep 17 00:00:00 2001 From: Bruce-Jay Date: Sun, 22 Sep 2024 19:42:53 +0800 Subject: [PATCH] fix: optimize the layout and delete some unused code --- src/components/DevLeaderboard/index.tsx | 1 - src/components/DevLeaderboard/styles.module.css | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/DevLeaderboard/index.tsx b/src/components/DevLeaderboard/index.tsx index a5ffab2..23c5f00 100644 --- a/src/components/DevLeaderboard/index.tsx +++ b/src/components/DevLeaderboard/index.tsx @@ -7,7 +7,6 @@ import Leaderboard from "./Leaderboard"; import Details from "./Details"; import Graph from "./Graph"; import Banner from "./Banner"; -import "./devLeaderboard.css"; const DevLeaderboard = () => { const [graph, setGraph] = useState(null); diff --git a/src/components/DevLeaderboard/styles.module.css b/src/components/DevLeaderboard/styles.module.css index dc662e7..1126825 100644 --- a/src/components/DevLeaderboard/styles.module.css +++ b/src/components/DevLeaderboard/styles.module.css @@ -38,7 +38,7 @@ .leftBox { position: absolute; - top: 20%; + top: 30%; left: 20px; height: 60%; } @@ -46,6 +46,6 @@ .rightBox { position: absolute; right: 20px; - top: 20%; + top: 30%; height: 60%; }