From 5e0792631ad5033af447ebb9427b3004c4e35a2c Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 18 Oct 2023 17:37:36 +0300 Subject: [PATCH 1/1] Remove subscribe/unsubscribe button custom css --- app/assets/stylesheets/common.scss | 6 ------ app/views/browse/changeset.html.erb | 14 +++++--------- 2 files changed, 5 insertions(+), 15 deletions(-) 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 %> -- 2.39.5