mirror of
https://github.com/tildeverse/lobsters
synced 2024-06-17 14:17:06 +00:00
style delete button
This commit is contained in:
parent
640f2cdca1
commit
1824fffe65
|
@ -234,6 +234,8 @@ button:disabled {
|
|||
color: gray;
|
||||
}
|
||||
|
||||
a.button,
|
||||
button.deletion,
|
||||
input.deletion {
|
||||
color: darkred;
|
||||
border: 1px solid darkred;
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user