Skip to content

Commit

Permalink
Merge pull request #4498 from alphagov/header-float
Browse files Browse the repository at this point in the history
Fix header product name wrapping onto new line
  • Loading branch information
colinrotherham authored Dec 5, 2023
2 parents 44e718c + a705245 commit 8c8891a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ notes: The links within each section are not functional.
{% set pageTitle = "Technology - Service Manual" %}
{% block pageTitle %}{{ pageTitle }} - GOV.UK{% endblock %}

{% block header %}
{{ govukHeader({
productName: "Service Manual"
}) }}
{% endblock %}

{% block beforeContent %}
{{ govukBreadcrumbs({
items: [
Expand Down
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 8c8891a

Please sign in to comment.