From 55d3b3369203a4f5b7cbf57f4b810e9ca2efc4b3 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 7 Apr 2024 16:27:07 +0300 Subject: [PATCH] Use secondary body background in heading sections --- app/assets/stylesheets/common.scss | 4 ---- app/views/layouts/_content.html.erb | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index db03b94ab..187d6a83c 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -719,10 +719,6 @@ tr.turn:hover { /* Rules for non-map content pages */ -.content-heading { - background: $lightgrey; -} - .content-inner { position: relative; max-width: 960px; diff --git a/app/views/layouts/_content.html.erb b/app/views/layouts/_content.html.erb index cfb8d712c..bd5c43f02 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