Skip to content

Commit

Permalink
addresses review feedback
Browse files Browse the repository at this point in the history
Refactors MAIN.index-row rather than wrapping the whole DIV.grid in
MAIN.

thread: #6041 (comment)
squash/fixup: 80547cd
  • Loading branch information
cfm committed Jul 27, 2021
1 parent d6116a2 commit adf55a1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions securedrop/source_templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ <h2 id="security-level-heading" hidden>{{ gettext('How to change your security l
{% include 'banner_warning_flashed.html' %}

<div class="content">
<main>
<div class="grid">
{% include 'flashed.html' %}
{# The div `index-wrap` MUST be ordered this way so that the flexbox works on large and small screens
Expand All @@ -52,7 +51,7 @@ <h1><img src="{{ g.logo }}" alt="{{ gettext('{} logo'.format(g.organization_name
</div>
</header>

<div class="index-row">
<main class="index-row">
<section class="index-column index-left" aria-labelledby="first-submission-heading">
<div class="index-column-top-container" aria-label="">
<h2 id="first-submission-heading" class="welcome-text">
Expand Down Expand Up @@ -80,11 +79,10 @@ <h2 id="return-visit-heading" class="welcome-text">
</a>
</div>
</section>
</div>
</main>
</div>
{% include 'footer.html' %}
</div>
</main>
</div>


Expand Down

0 comments on commit adf55a1

Please sign in to comment.