Skip to content

Commit

Permalink
Remove header logo width: 33.3% without navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 28, 2023
1 parent 1bca0a6 commit 5c31f65
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@
padding-right: $govuk-gutter-half;
float: left;
vertical-align: top;

// Reset float when logo is the last child, without a navigation
&:last-child {
width: auto;
padding-right: 0;
float: none;
}
}
}

Expand Down

0 comments on commit 5c31f65

Please sign in to comment.