From: Anton Khorev Date: Sun, 7 Apr 2024 13:27:07 +0000 (+0300) Subject: Use secondary body background in heading sections X-Git-Tag: live~918^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/55d3b3369203a4f5b7cbf57f4b810e9ca2efc4b3 Use secondary body background in heading sections --- 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 %>