From: Anton Khorev Date: Wed, 18 Oct 2023 14:37:36 +0000 (+0300) Subject: Remove subscribe/unsubscribe button custom css X-Git-Tag: live~955^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/5e0792631ad5033af447ebb9427b3004c4e35a2c Remove subscribe/unsubscribe button custom css --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 73226a518..a366a1bc1 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -763,12 +763,6 @@ tr.turn:hover { } } - .subscribe-buttons input { - font-size: 90%; - line-height: 15px; - min-height: 20px; - } - span.action-button:hover { cursor: pointer; text-decoration: underline; diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 9acbd05ae..93e0abf21 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -17,15 +17,11 @@ <% if current_user %>
- + <% if @changeset.subscribers.exists?(current_user.id) %> + + <% else %> + + <% end %>
<% end %>