From 04e420102129d309a61994b47a808234dbadfe28 Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Fri, 12 Apr 2024 15:23:09 +0300 Subject: [PATCH] fix: insights menu point alignment (#6847) What is says on the tin Closes [1-2288](https://linear.app/unleash/issue/1-2288/misalignment-insights-beta-menu-item) Screenshot 2024-04-12 at 14 42 28 --------- Signed-off-by: andreas-unleash --- frontend/src/component/menu/Header/Header.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/menu/Header/Header.tsx b/frontend/src/component/menu/Header/Header.tsx index 885633b11f..95740e9d9f 100644 --- a/frontend/src/component/menu/Header/Header.tsx +++ b/frontend/src/component/menu/Header/Header.tsx @@ -117,14 +117,20 @@ const styledIconProps = (theme: Theme) => ({ const StyledLink = styled(Link)(({ theme }) => focusable(theme)); +const StyledText = styled('div')(({ theme }) => ({ + display: 'flex', + alignItems: 'center', + gap: theme.spacing(1), +})); + const StyledLinkWithBetaBadge = ({ title, to, }: { title: string; to: string }) => ( -
+ {title} Beta -
+
);