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 abb897e commit 3590684
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 @@ -30,10 +30,7 @@
--al-masthead-title-size: #{$h2-font-size};

.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"><%= heading %></span>
<span class="h1 my-4"><%= 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 3590684

Please sign in to comment.