Skip to content

Commit

Permalink
Wrap navbar-nav with a navbar class (#1546)
Browse files Browse the repository at this point in the history
Fixes #1545
  • Loading branch information
jcoyne authored Jun 13, 2024
1 parent 729437e commit abb897e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/arclight/modules/mastheads.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@
}

@media (max-width: 767px) {
.nav-links {
justify-content: center !important;
}

h1 {
text-align: center;
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/arclight/masthead_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span class="h1"><%= heading %></span>
</div>

<nav class="col-md-4 nav-links d-flex justify-content-end" aria-label="browse">
<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>
Expand Down

0 comments on commit abb897e

Please sign in to comment.