diff --git a/app/assets/stylesheets/specific/posts.scss b/app/assets/stylesheets/specific/posts.scss index a5b6ddf54..dd1d5d82c 100644 --- a/app/assets/stylesheets/specific/posts.scss +++ b/app/assets/stylesheets/specific/posts.scss @@ -211,6 +211,13 @@ body[data-user-can-approve-posts="true"] .post-preview { } div#c-posts { + .fav-buttons { + font-size: 14pt; + + input[type=submit] { + padding: 0.2em 0.5em; + } + } #ugoira-controls { div#seek-slider { diff --git a/app/views/posts/show.html.erb b/app/views/posts/show.html.erb index e77db93b1..e6d239c82 100644 --- a/app/views/posts/show.html.erb +++ b/app/views/posts/show.html.erb @@ -47,8 +47,11 @@
<%= @post.presenter.image_html(self) %> - <%= button_to "Favorite", favorites_path(post_id: @post.id), remote: true, method: :post, form: {id: "add-fav-button"} %> - <%= button_to "Unfavorite", favorite_path(@post), remote: true, method: :delete, form: {id: "remove-fav-button"} %> + +