From 82fd7a10aca90135eb54b74d142c7139d8638d04 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 8 Jan 2020 17:04:53 +0100 Subject: [PATCH] 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! --- app/assets/stylesheets/common.scss | 3 +-- app/views/users/terms.html.erb | 16 ++++++++-------- 2 files changed, 9 insertions(+), 10 deletions(-) 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" %>

-