Skip to content

Commit

Permalink
Fixed positioning of 'Exit this page' button
Browse files Browse the repository at this point in the history
Hi Sarah,

Just a quick PR to your branch, this should fix the positioning of the 'Exit this page' button.

Many thanks! 馃槃
  • Loading branch information
BenMillar-CGI committed Sep 12, 2023
1 parent 0e41889 commit ca41d33
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions cla_public/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,16 @@
{% endfor %}
{% endif %}
{% endif %}
{% if is_quick_exit_enabled(session) %}
<div class="govuk-exit-this-page" data-module="govuk-exit-this-page">
<a href="https://www.bbc.co.uk/weather" role="button" draggable="false"
class="govuk-button govuk-button--warning govuk-exit-this-page__button govuk-js-exit-this-page-button"
data-module="govuk-button">
Exit this page
</a>
</div>
{% endif %}
<main class="govuk-main-wrapper " id="main-content" role="main" lang="{{ request.cookies.get('locale', 'en')[:2] }}">
{% if is_quick_exit_enabled(session) %}
<div class="laa-flee-button-container laa-flee-button-enabled">
<div class="govuk-exit-this-page" data-module="govuk-exit-this-page">
<a href="https://www.bbc.co.uk/weather" role="button" draggable="false"
class="govuk-button govuk-button--warning govuk-exit-this-page__button govuk-js-exit-this-page-button"
data-module="govuk-button">
Exit this page
</a>
</div>
</div>
{% endif %}
<div class="govuk-grid-row">
{% with flash_messages = get_flashed_messages() %}
{% if flash_messages %}
Expand Down

0 comments on commit ca41d33

Please sign in to comment.