From: Anton Khorev Date: Sun, 13 Apr 2025 12:43:28 +0000 (+0300) Subject: Remove custom position and margin css from .content-inner X-Git-Tag: live~35^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/ab69ae5552cdc50475305e4bb6fbfe0ec5382ecf?hp=--cc Remove custom position and margin css from .content-inner --- ab69ae5552cdc50475305e4bb6fbfe0ec5382ecf diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 9fff025d0..9075c5864 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -691,9 +691,7 @@ tr.turn { /* Rules for non-map content pages */ .content-inner { - position: relative; max-width: 960px; - margin: auto; padding: $lineheight; } diff --git a/app/views/layouts/_content.html.erb b/app/views/layouts/_content.html.erb index 9e28c0771..7e7cd2cca 100644 --- a/app/views/layouts/_content.html.erb +++ b/app/views/layouts/_content.html.erb @@ -5,13 +5,13 @@ <%= render :partial => "layouts/flash", :locals => { :flash => flash } %> <% if content_for? :heading %>
-
+
<%= yield :heading %>
<% end %>
-
+
<%= yield %>