Commit b57e68c7 authored by Audrey Hamelers's avatar Audrey Hamelers

header style

parent 10210093
Pipeline #10674 passed with stages
in 1 minute and 2 seconds
......@@ -101,7 +101,7 @@ const RightSection = styled.div`
`
const Section = styled.span`
display: inline-flex;
flex-wrap: wrap;
white-space: nowrap;
align-items: center;
height: 100%;
padding: 0 calc(${th('gridUnit')} * 2);
......@@ -109,6 +109,7 @@ const Section = styled.span`
button {
display: flex;
align-items: center;
white-space: nowrap;
&:focus {
box-shadow: none;
text-decoration: underline;
......@@ -212,7 +213,7 @@ const RightComponent = ({ user, loginLink, onLogoutClick }) => (
</Icon>
</Action>
<Link to="/my-account">
<LinkText>{user.identities[0].name.surname}</LinkText>
<LinkText>{user.identities[0].name.givenNames}</LinkText>
</Link>
</Section>
) : (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment