Skip to content

Commit

Permalink
Merge pull request #2767 from sul-dlss/mobile-subtitle
Browse files Browse the repository at this point in the history
show subtitle on mobile
  • Loading branch information
jcoyne authored Jan 9, 2025
2 parents fa41c23 + 57415bf commit 1dc2100
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/modules/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@
}

.masthead {
small {
white-space: nowrap;
@media screen and (max-width: 576px) {
small {
@include rfs(1.25rem!important, font-size);
}
}

.masthead-navigation {
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_masthead.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</h1>

<% if masthead_subheading_content %>
<small><%= masthead_subheading_content %></small>
<small class="py-2"><%= masthead_subheading_content %></small>
<% end %>
</div>

Expand Down

0 comments on commit 1dc2100

Please sign in to comment.