From 04d70f536df3246b3e506706570ece9a2ebb513b Mon Sep 17 00:00:00 2001 From: Connor Prussin Date: Thu, 13 Mar 2025 09:47:29 -0700 Subject: [PATCH] fix(staking): fix header to not overlap on small screen sizes --- apps/staking/src/components/Header/help-menu.tsx | 4 ++-- apps/staking/src/components/Header/index.tsx | 8 ++++---- apps/staking/src/components/Header/stats.tsx | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/staking/src/components/Header/help-menu.tsx b/apps/staking/src/components/Header/help-menu.tsx index fece5a6e35..76b392840f 100644 --- a/apps/staking/src/components/Header/help-menu.tsx +++ b/apps/staking/src/components/Header/help-menu.tsx @@ -47,9 +47,9 @@ export const HelpMenu = () => { return ( <> - diff --git a/apps/staking/src/components/Header/index.tsx b/apps/staking/src/components/Header/index.tsx index 82f9a3a13d..5fdb6f32f7 100644 --- a/apps/staking/src/components/Header/index.tsx +++ b/apps/staking/src/components/Header/index.tsx @@ -21,7 +21,7 @@ export const Header = ({ >
-
+
Pyth Staking - +
-
+
@@ -40,6 +40,6 @@ export const Header = ({
- + ); diff --git a/apps/staking/src/components/Header/stats.tsx b/apps/staking/src/components/Header/stats.tsx index 406414b00b..0f9058f75d 100644 --- a/apps/staking/src/components/Header/stats.tsx +++ b/apps/staking/src/components/Header/stats.tsx @@ -22,7 +22,7 @@ export const Stats = ({ className, ...props }: HTMLProps) => { return (
-
+
{state.type === StateType.Loaded ? ( {state.data.totalStaked} @@ -35,7 +35,7 @@ export const Stats = ({ className, ...props }: HTMLProps) => {
-
+
{state.type === StateType.Loaded ? ( {state.data.rewardsDistributed} @@ -48,7 +48,7 @@ export const Stats = ({ className, ...props }: HTMLProps) => {
-
+
{state.type === StateType.Loaded ? ( {state.data.totalGovernance} @@ -57,7 +57,7 @@ export const Stats = ({ className, ...props }: HTMLProps) => { )}
- Pyth Governance Total Staked + Governance Total Staked