Skip to content

Commit

Permalink
Fix layout issues with shared templates (#1055)
Browse files Browse the repository at this point in the history
* Removed invalid additional <main> tag

* Fix column alignment in <footer>
  • Loading branch information
DrizzlyOwl authored May 13, 2024
1 parent 1e3e8eb commit 7b422b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,14 @@
@{
ViewData["Title"] = @Model.ErrorMessage;
}
<div class="govuk-width-container">
<main class="govuk-main-wrapper govuk-main-wrapper--l" id="main-content" role="main">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l" id="error-heading">@Model.ErrorMessage</h1>
<p class="govuk-body">
A fault has stopped us from doing what you asked. It might work next time if you try again.
</p>
<p class="govuk-body">
Email the Prepare conversions and transfers team at <a href="mailto:@Configuration["SupportEmail"]?subject=Prepare%20conversions%20and%20transfers:%20support%20query" class="govuk-link">@Configuration["SupportEmail"]</a> if this error continues.
</p>
</div>
</div>
</main>
</div>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l" id="error-heading">@Model.ErrorMessage</h1>
<p class="govuk-body">
A fault has stopped us from doing what you asked. It might work next time if you try again.
</p>
<p class="govuk-body">
Email the Prepare conversions and transfers team at <a href="mailto:@Configuration["SupportEmail"]?subject=Prepare%20conversions%20and%20transfers:%20support%20query" class="govuk-link">@Configuration["SupportEmail"]</a> if this error continues.
</p>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<footer class="govuk-footer " role="contentinfo">
<div class="dfe-width-container">
<div class="govuk-footer__navigation">
<div class="govuk-footer__section" data-cy="get-support-section">
<div class="govuk-footer__section govuk-grid-column-one-half" data-cy="get-support-section">
<h2 class="govuk-footer__heading govuk-heading-m">Get support</h2>
<ul class="govuk-footer__list govuk-footer__list--columns-1">
<li class="govuk-footer__list-item">
Expand All @@ -158,7 +158,7 @@
</a>
</ul>
</div>
<div class="govuk-footer__section">
<div class="govuk-footer__section govuk-grid-column-one-half">
<h2 class="govuk-footer__heading govuk-heading-m">Give feedback</h2>
<ul class="govuk-footer__list govuk-footer__list--columns-1">
<li class="govuk-footer__list-item">
Expand Down

0 comments on commit 7b422b7

Please sign in to comment.