Skip to content

Commit

Permalink
Replace header padding style with bootstrap margin style
Browse files Browse the repository at this point in the history
This makes it easier to customize without having to override css classes
  • Loading branch information
jcoyne committed Jun 13, 2024
1 parent da6230a commit 5a82268
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions app/assets/stylesheets/arclight/modules/mastheads.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
--bs-nav-link-font-weight: 700;

.h1 {
display: block;
font-size: var(--al-masthead-title-size);
margin: 0;
padding: ($spacer * 1.5) ($spacer * 0.5);
}

.navbar-nav {
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 @@ -2,7 +2,7 @@
<div class="container">
<div class="row align-items-center">
<div class="col-md-8" >
<span class="h1 text-center text-md-start"><%= heading %></span>
<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">
Expand Down

0 comments on commit 5a82268

Please sign in to comment.