Skip to content

Commit

Permalink
Extract col-md-4 from the navbar (#1551)
Browse files Browse the repository at this point in the history
The navbar ovewrites the padding of the col-md-4, which means these links don't line up with those in the topbar
  • Loading branch information
jcoyne authored Jun 13, 2024
1 parent d6a3ab3 commit f3f0067
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/components/arclight/masthead_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
<span class="h1 my-4 text-center text-md-start"><%= heading %></span>
</div>

<nav class="navbar navbar-expand col-md-4 d-flex justify-content-md-end justify-content-center" aria-label="browse">
<ul class="navbar-nav">
<%= render 'shared/main_menu_links' %>
</ul>
</nav>
<div class="col-md-4">
<nav class="navbar navbar-expand d-flex justify-content-md-end justify-content-center" aria-label="browse">
<ul class="navbar-nav">
<%= render 'shared/main_menu_links' %>
</ul>
</nav>
</div>
</div>
</div>
</div>

0 comments on commit f3f0067

Please sign in to comment.