mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
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)
This commit is contained in:
parent
64593c57cf
commit
8a67640aed
@ -59,10 +59,6 @@ const StyledLink = styled(Link<typeof RouterLink | 'a'>)(({ 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 = ({
|
||||
|
||||
<StyledDivider />
|
||||
|
||||
<StyledLinkPrivacy
|
||||
<StyledLink
|
||||
component='a'
|
||||
href='https://www.getunleash.io/privacy-policy'
|
||||
underline='hover'
|
||||
@ -123,7 +119,7 @@ export const UserProfileContent = ({
|
||||
target='_blank'
|
||||
>
|
||||
Privacy Policy <OpenInNew />
|
||||
</StyledLinkPrivacy>
|
||||
</StyledLink>
|
||||
|
||||
<StyledDivider />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user