Fix spacing around profile logout button
closes PLAT-4789 Test Plan: - see that the new spacing matches what is requested in the ticket Change-Id: I0d5456ce7451bda108ac9a54beab313b8eb701bc Reviewed-on: https://gerrit.instructure.com/207953 Reviewed-by: Xander Moffatt <xmoffatt@instructure.com> QA-Review: Xander Moffatt <xmoffatt@instructure.com> Tested-by: Jenkins Product-Review: Marc Phillips <mphillips@instructure.com>
This commit is contained in:
parent
d394c6f9e8
commit
c557ab7bc6
|
@ -27,7 +27,7 @@ import LogoutButton from '../LogoutButton'
|
|||
function ProfileTab({id, html_url, label}) {
|
||||
return (
|
||||
<ListItem key={id}>
|
||||
<Button variant="link" theme={{mediumPadding: '0', mediumHeight: '1.5rem'}} href={html_url}>
|
||||
<Button variant="link" margin="none" href={html_url}>
|
||||
{label}
|
||||
</Button>
|
||||
</ListItem>
|
||||
|
@ -55,10 +55,10 @@ export default function ProfileTray({userDisplayName, userAvatarURL, loaded, tab
|
|||
<Heading level="h3" as="h2">
|
||||
{userDisplayName}
|
||||
</Heading>
|
||||
<LogoutButton size="small" margin="medium 0" />
|
||||
<LogoutButton size="small" margin="medium 0 x-small 0" />
|
||||
</View>
|
||||
<hr role="presentation" />
|
||||
<List variant="unstyled" margin="small 0" itemSpacing="small">
|
||||
<List variant="unstyled" margin="0" itemSpacing="small">
|
||||
{loaded ? (
|
||||
tabs.map(tab => <ProfileTab key={tab.id} {...tab} />)
|
||||
) : (
|
||||
|
|
Loading…
Reference in New Issue