Add a page-wide bottom border to heading sections

This commit is contained in:
Anton Khorev 2024-04-07 17:28:55 +03:00
parent e7d82be15e
commit f3a9d2e9d6
2 changed files with 2 additions and 1 deletions

View file

@ -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';

View file

@ -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>