Skip to content

Commit

Permalink
style: move sidebar to the left of the page
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyRet committed Oct 7, 2024
1 parent cc21856 commit 166efed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@

<main class="govuk-main-wrapper" id="main-content" role="main">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= yield(:page_header) %>
<%= yield %>
</div>
<% if content_for?(:sidebar) %>
<div class="govuk-grid-column-one-third">
<%= yield(:sidebar) %>
</div>
<% end %>
<div class="govuk-grid-column-two-thirds">
<%= yield(:page_header) %>
<%= yield %>
</div>
</div>
</main>
</div>
Expand Down

0 comments on commit 166efed

Please sign in to comment.