enlargen favorite button
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -47,8 +47,11 @@
|
||||
<div id="note-preview"></div>
|
||||
<%= @post.presenter.image_html(self) %>
|
||||
</section>
|
||||
<%= 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"} %>
|
||||
|
||||
<div class="fav-buttons">
|
||||
<%= 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"} %>
|
||||
</div>
|
||||
|
||||
<section id="mark-as-translated-section" style="display: none;">
|
||||
<%= form_tag(mark_as_translated_post_path(@post), :class => "simple_form", :method => :put) do |f| %>
|
||||
|
||||
Reference in New Issue
Block a user