From f3a9d2e9d61f3f596d559ac75d54c08bc60fc629 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 7 Apr 2024 17:28:55 +0300 Subject: [PATCH] Add a page-wide bottom border to heading sections --- app/assets/stylesheets/common.scss | 1 + app/views/layouts/_content.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 95971c9f2..ba976ff2b 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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'; diff --git a/app/views/layouts/_content.html.erb b/app/views/layouts/_content.html.erb index bd5c43f02..9e28c0771 100644 --- a/app/views/layouts/_content.html.erb +++ b/app/views/layouts/_content.html.erb @@ -4,7 +4,7 @@ <% else %> <%= render :partial => "layouts/flash", :locals => { :flash => flash } %> <% if content_for? :heading %> -
+
<%= yield :heading %>
-- 2.39.5