Skip to content

Commit

Permalink
Tweak to layout
Browse files Browse the repository at this point in the history
  • Loading branch information
frankieroberto committed Jul 16, 2024
1 parent b48ce3f commit 7527938
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,11 @@
// Account section
.nhsuk-header__account {
margin-right: 0;

/* TODO: This is to move the section closer to the top
on mobile but is only rough. */
margin-top: -5px;

display: flex;
flex-direction: column;
align-items: flex-end;
Expand All @@ -543,11 +548,10 @@

.nhsuk-header__account-item {
@include nhsuk-font(16);
border-bottom: nhsuk-spacing(1) solid transparent;
border-top: nhsuk-spacing(1) solid transparent;
display: inline-block;
color: $color_nhsuk-white;
font-size: inherit;
padding: nhsuk-spacing(3) 0;
padding: nhsuk-spacing(1) 0;
white-space: nowrap;
margin-left: nhsuk-spacing(4);
}
Expand Down

0 comments on commit 7527938

Please sign in to comment.