From: Andy Allan Date: Wed, 19 Aug 2020 12:53:07 +0000 (+0200) Subject: Fix remaining unstyled buttons by moving to bootstrap buttons X-Git-Tag: live~2659^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/94008d90596352b37db475f2c61a1d7257e0c3f0 Fix remaining unstyled buttons by moving to bootstrap buttons --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 95e0c292a..8aee535af 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -709,8 +709,7 @@ body.compact-nav { margin: $lineheight auto; } - .loader, - .load_more { + .loader { text-align: center; margin: auto; width: 40px; diff --git a/app/views/changesets/index.html.erb b/app/views/changesets/index.html.erb index 527a0a232..3e946670d 100644 --- a/app/views/changesets/index.html.erb +++ b/app/views/changesets/index.html.erb @@ -3,8 +3,8 @@ <%= render @changesets %> <% if @changesets.size == 20 -%> -
- <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "button load_more" %> +
+ <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "btn btn-primary" %>
<%= image_tag "searching.gif" %>
<% end -%> diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 94f19d2fe..e05aa29ad 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -11,8 +11,8 @@ <% end %> <% if @more_params %> -
- <%= link_to t(".more_results"), url_for(@more_params), :class => "button load_more" %> +
+ <%= link_to t(".more_results"), url_for(@more_params), :class => "btn btn-primary" %>
<%= image_tag "searching.gif" %>
<% end %> diff --git a/app/views/site/fixthemap.html.erb b/app/views/site/fixthemap.html.erb index 3c82e2374..f5adb83ac 100644 --- a/app/views/site/fixthemap.html.erb +++ b/app/views/site/fixthemap.html.erb @@ -17,7 +17,7 @@
<%= t ".how_to_help.join_the_community.title" %>

<%= t ".how_to_help.join_the_community.explanation_html" %>

- + <%= t("layouts.start_mapping") %>