Skip to content

Commit

Permalink
Add a page-wide bottom border to heading sections
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Apr 7, 2024
1 parent e7d82be commit f3a9d2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/common.scss
Expand Up @@ -1068,6 +1068,7 @@ div.secondary-actions {
.bg-body-secondary .nav-tabs {
--bs-border-color: var(--bs-secondary-border-subtle);
--bs-secondary-bg: var(--bs-secondary-border-subtle);
margin-bottom: -1px;
}

@import 'browse';
2 changes: 1 addition & 1 deletion app/views/layouts/_content.html.erb
Expand Up @@ -4,7 +4,7 @@
<% else %>
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<% if content_for? :heading %>
<div class="content-heading bg-body-secondary">
<div class="content-heading bg-body-secondary border-bottom border-secondary-subtle">
<div class="content-inner <%= yield :heading_class %>">
<%= yield :heading %>
</div>
Expand Down

0 comments on commit f3a9d2e

Please sign in to comment.