From: Andy Allan Date: Wed, 18 Oct 2023 15:25:27 +0000 (+0100) Subject: Merge pull request #4299 from AntonKhorev/no-changeset-action-button-css X-Git-Tag: live~1493 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/945df0f150ea803e1a654b03155ecdb444c6ed1c?hp=5933ade9a73c03cea7a8ce39e918ba2546f5246b Merge pull request #4299 from AntonKhorev/no-changeset-action-button-css 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 %>