From 82bf5ac230f6f14dce8a6206fe2ba82ff4fcef38 Mon Sep 17 00:00:00 2001 From: Piotr Date: Tue, 4 Mar 2025 10:02:29 +0100 Subject: [PATCH] fix width of window --- src/components/FooterNavbar/style.ts | 11 ++++++++--- src/components/PositionsList/style.ts | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/FooterNavbar/style.ts b/src/components/FooterNavbar/style.ts index d627f2d4..0f160a8f 100644 --- a/src/components/FooterNavbar/style.ts +++ b/src/components/FooterNavbar/style.ts @@ -45,10 +45,15 @@ const useStyles = makeStyles()(() => { activeBox: { position: 'absolute', width: '100%', + padding: '0 1px 0 1px', height: 2, - top: 0, - left: 0, - background: colors.invariant.pinkGreenLinearGradient + top: -2, + left: -1, + background: colors.invariant.pinkGreenLinearGradient, + + '&:last-of-type': { + padding: '0 0 0 1px' + } } } }) diff --git a/src/components/PositionsList/style.ts b/src/components/PositionsList/style.ts index 89ed99e2..e586dfe1 100644 --- a/src/components/PositionsList/style.ts +++ b/src/components/PositionsList/style.ts @@ -130,6 +130,7 @@ export const useStyles = makeStyles()((theme: Theme) => ({ itemLink: { textDecoration: 'none', cursor: 'pointer', + width: '100%', '&:not(:last-child)': { display: 'block',