#446 remove crown

This commit is contained in:
Kenneth Kehl
2023-04-13 07:13:04 -07:00
parent 6587ed5223
commit 65ea248429
23 changed files with 47 additions and 276 deletions

View File

@@ -45,13 +45,7 @@
margin-right: govuk-spacing(1);
}
.govuk-header__logotype-crown {
margin-right: 1px;
fill: currentColor;
vertical-align: middle;
}
.govuk-header__logotype-crown-fallback-image {
.govuk-header__logotype-fallback-image {
width: 36px;
height: 32px;
border: 0;
@@ -269,8 +263,7 @@
background: transparent;
}
// Hide the inverted crown when printing in browsers that don't support SVG.
.govuk-header__logotype-crown-fallback-image {
.govuk-header__logotype-fallback-image {
display: none;
}
@@ -289,7 +282,7 @@
// Begin adjustments for font baseline offset
// These should be removed when the font is updated with the correct baseline
.govuk-header__logotype-crown {
.govuk-header__logotype {
position: relative;
top: -4px;
}

View File

@@ -5,7 +5,7 @@
<div class="govuk-header__logo">
<a href="{{ params.homepageUrl | default('/') }}" class="govuk-header__link govuk-header__link--homepage">
<span class="govuk-header__logotype">
<image src="{{ params.assetsPath | default('/assets/images') }}/email-template/us-flag.png" alt="United States Flag" xlink:href="" class="govuk-header__logotype-crown-fallback-image" width="36" height="32"></image>
<image src="{{ params.assetsPath | default('/assets/images') }}/email-template/us-flag.png" alt="United States Flag" xlink:href="" class="govuk-header__logotype-fallback-image" width="36" height="32"></image>
</svg>
<span class="govuk-header__logotype-text">
U.S.