fixes #71: Comment spoiler function not working
This commit is contained in:
@@ -137,6 +137,21 @@ h3 {
|
||||
font-size: $h3_size;
|
||||
}
|
||||
|
||||
.spoiler {
|
||||
color: black;
|
||||
background: black;
|
||||
cursor: text;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.spoiler a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.spoiler:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
div.prose {
|
||||
h1, h2, h3 {
|
||||
line-height: 1em;
|
||||
|
||||
@@ -24,7 +24,7 @@ class Post < ActiveRecord::Base
|
||||
has_many :versions, :class_name => "PostVersion", :dependent => :destroy, :order => "post_versions.id ASC"
|
||||
has_many :votes, :class_name => "PostVote", :dependent => :destroy
|
||||
has_many :notes, :dependent => :destroy
|
||||
has_many :comments
|
||||
has_many :comments, :order => "comments.id"
|
||||
has_many :children, :class_name => "Post", :foreign_key => "parent_id", :order => "posts.id"
|
||||
has_many :disapprovals, :class_name => "PostDisapproval"
|
||||
validates_uniqueness_of :md5
|
||||
|
||||
Reference in New Issue
Block a user