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 13, 2024
1 parent abb897e commit 2ca9551
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions app/assets/stylesheets/arclight/modules/mastheads.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,4 @@
color: var(--al-mastead-active-link-color);
}
}

@media (max-width: 767px) {
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-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">
Expand Down

0 comments on commit 2ca9551

Please sign in to comment.