From: Andy Allan Date: Wed, 8 Jan 2020 16:04:53 +0000 (+0100) Subject: Remove the custom layout css from the terms page X-Git-Tag: live~2890^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/82fd7a10aca90135eb54b74d142c7139d8638d04 Remove the custom layout css from the terms page This uses bootstrap utilities where necessary. It also removes the terms page from a padding override, which was then in turn overridden by a padding class applied to the form! --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 018f36217..607ea4bf6 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1405,8 +1405,7 @@ tr.turn:hover { /* Overrides for pages that use new layout conventions */ .users-new, -.users-create, -.users-terms { +.users-create { .content-body .content-inner { padding: 0; diff --git a/app/views/users/terms.html.erb b/app/views/users/terms.html.erb index 97c1c7bf7..243ce2863 100644 --- a/app/views/users/terms.html.erb +++ b/app/views/users/terms.html.erb @@ -7,13 +7,13 @@
<% end %> -<%= form_tag({ :action => "save" }, { :class => " inner22 standard-form fillL" }) do %> +<%= form_tag({ :action => "save" }, { :class => "standard-form fillL" }) do %>

<%= t ".read and accept with tou" %>

-