From ab69ae5552cdc50475305e4bb6fbfe0ec5382ecf Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 13 Apr 2025 15:43:28 +0300 Subject: [PATCH] Remove custom position and margin css from .content-inner --- app/assets/stylesheets/common.scss | 2 -- app/views/layouts/_content.html.erb | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) 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 %>
-- 2.39.5