diff --git a/apps/marginfi-v2-ui/src/components/desktop/Points/PointsLeaderBoard.tsx b/apps/marginfi-v2-ui/src/components/desktop/Points/PointsLeaderBoard.tsx index d5e736eafa..c4b829ed2d 100644 --- a/apps/marginfi-v2-ui/src/components/desktop/Points/PointsLeaderBoard.tsx +++ b/apps/marginfi-v2-ui/src/components/desktop/Points/PointsLeaderBoard.tsx @@ -181,26 +181,19 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) return ( <> -

Total users: {leaderboardSettings.totalUserCount}

setOrderCol("total_points")} > Rank - {leaderboardSettings.orderCol === "total_points" && ( - - )} User = ({ currentUserId }) setOrderCol("total_points")} > Total Points + {leaderboardSettings.orderCol === "total_points" && ( + + )} @@ -266,8 +265,8 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) className={clsx( "border-none", index === 0 && "w-[10%]", - index === 1 && "w-[15%]", - index > 1 && "w-[15%]" + index === 1 && "w-[15%] min-w-[190px]", + index > 1 && "w-[15%] min-w-[190px]" )} key={index} > @@ -314,7 +313,7 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) @@ -323,7 +322,7 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) target="_blank" rel="noopener noreferrer" style={{ textDecoration: "none", color: "inherit" }} - className="hover:text-[#DCE85D]" + className={clsx("hover:text-[#DCE85D]")} > {data.id} @@ -331,7 +330,7 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) @@ -340,7 +339,7 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) @@ -349,7 +348,7 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) @@ -360,7 +359,7 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) @@ -369,7 +368,7 @@ export const PointsLeaderBoard: FC = ({ currentUserId }) diff --git a/apps/marginfi-v2-ui/src/components/desktop/Points/PointsOverview.tsx b/apps/marginfi-v2-ui/src/components/desktop/Points/PointsOverview.tsx index 8abf225ab6..498001be2d 100644 --- a/apps/marginfi-v2-ui/src/components/desktop/Points/PointsOverview.tsx +++ b/apps/marginfi-v2-ui/src/components/desktop/Points/PointsOverview.tsx @@ -12,7 +12,7 @@ interface PointsOverviewProps { export const PointsOverview: FC = ({ userPointsData }) => { return ( <> -
+
diff --git a/apps/marginfi-v2-ui/src/pages/points.tsx b/apps/marginfi-v2-ui/src/pages/points.tsx index c7e2eed5d5..cb65235602 100644 --- a/apps/marginfi-v2-ui/src/pages/points.tsx +++ b/apps/marginfi-v2-ui/src/pages/points.tsx @@ -54,7 +54,7 @@ const Points: FC = () => { return ( <> points -
+
{!connected ? ( ) : currentFirebaseUser ? ( diff --git a/apps/marginfi-v2-ui/tailwind.config.js b/apps/marginfi-v2-ui/tailwind.config.js index 18f254e0e0..bb3775d25d 100644 --- a/apps/marginfi-v2-ui/tailwind.config.js +++ b/apps/marginfi-v2-ui/tailwind.config.js @@ -32,6 +32,9 @@ module.exports = { warning: "#daa204", error: "#e07d6f", }, + maxWidth: { + "8xl": "90rem", + }, }, fontFamily: { aeonik: ['"Aeonik Pro"'],