Skip to content

Commit

Permalink
Eliminate media query in favor of a bootstrap class
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jun 12, 2024
1 parent 729437e commit e1a13a3
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 @@ -49,9 +49,5 @@
.nav-links {
justify-content: center !important;
}

h1 {
text-align: center;
}
}
}
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 @@ -2,7 +2,7 @@
<div class="container">
<div class="row align-items-center">
<div class="col-md-8" >
<span class="h1"><%= heading %></span>
<span class="h1 text-md-center"><%= heading %></span>
</div>

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

0 comments on commit e1a13a3

Please sign in to comment.