From: Andy Allan Date: Wed, 3 Nov 2021 17:43:01 +0000 (+0000) Subject: Remove custom css overrides for the users list X-Git-Tag: live~1428^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/abe855150656ca2fdb7d786716b3c14bea164265 Remove custom css overrides for the users list The margins on the buttons aren't needed since the table has a bottom margin, and the button class has never been applied since it was incorrectly in the id field. The table row override had no effect since the cells have their own vertical-alignment set. --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index e40434917..255e04511 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1118,15 +1118,6 @@ tr.turn:hover { #user_list { width: 100%; - - tr { - vertical-align: middle; - } -} - -#user_list_actions { - float: right; - margin-top: $lineheight/2; } /* Rules for the diary list page */ diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index cb47a4122..12d5ae7af 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -35,7 +35,7 @@ <%= render @users %> -
+
<%= submit_tag t(".confirm"), :name => "confirm", :class => "btn btn-primary" %> <%= submit_tag t(".hide"), :name => "hide", :class => "btn btn-primary" %>