5
3
mirror of https://github.com/tildeverse/lobsters synced 2024-06-17 14:17:06 +00:00

style delete button

This commit is contained in:
Peter Bhat Harkins 2018-02-01 13:14:27 -06:00
parent 640f2cdca1
commit 1824fffe65
2 changed files with 3 additions and 1 deletions

View File

@ -234,6 +234,8 @@ button:disabled {
color: gray;
}
a.button,
button.deletion,
input.deletion {
color: darkred;
border: 1px solid darkred;

View File

@ -55,7 +55,7 @@
  |  
<% if @story.user_id != @user.id && @user.is_moderator? %>
<%= link_to "Delete", story_path(@story.short_id),
:method => :delete, :class => "button mod_story_link" %>
:method => :delete, :class => "button mod_story_link deletion" %>
<% else %>
<%= link_to "Delete", story_path(@story.short_id),
:method => :delete, :data => {