From 8a67640aed9dfbb291f858b8d91b5ce4b671dd78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Wed, 6 Mar 2024 17:15:07 +0000 Subject: [PATCH] fix: align privacy policy link to the center (#6451) Aligns the privacy policy to the center in the profile dropdown, just like we do for the profile settings. ![image](https://github.com/Unleash/unleash/assets/14320932/0d0565eb-7b28-4b46-acb3-bbaef143fb8d) --- .../UserProfile/UserProfileContent/UserProfileContent.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx b/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx index 6a882da35a..4e05d89ece 100644 --- a/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx +++ b/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx @@ -59,10 +59,6 @@ const StyledLink = styled(Link)(({ theme }) => ({ }, })); -const StyledLinkPrivacy = styled(StyledLink)(({ theme }) => ({ - alignSelf: 'flex-start', -})); - const StyledLogoutButton = styled(Button)(({ theme }) => ({ width: '100%', height: theme.spacing(5), @@ -115,7 +111,7 @@ export const UserProfileContent = ({ - Privacy Policy - +