Skip to content

Commit

Permalink
Fix focus styling in super navigation header logo
Browse files Browse the repository at this point in the history
The focus style of the super navigation header logo was not rendering correctly in the super navigation header menu, but it was styled correct in the layout-header component.

To fix this, the line height is set to 1 in `.gem-c-layout-super-navigation-header__header-logo`, this matches the approach used for `.govuk-header` in the layout-header from the design system.
  • Loading branch information
MartinJJones committed Jun 19, 2024
1 parent 2651a8d commit bcc574e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ $after-button-padding-left: govuk-spacing(4);
.gem-c-layout-super-navigation-header__header-logo {
display: inline-block;
height: govuk-spacing(6);
line-height: 1;
padding-bottom: govuk-spacing(2);
padding-top: govuk-spacing(2);
}
Expand Down

0 comments on commit bcc574e

Please sign in to comment.