Commit 6c2f53a4 by Rocky Duan

to make it appear at least normal..

parent 25c05e70
...@@ -77,7 +77,7 @@ initializeFollowDiscussion = (discussion) -> ...@@ -77,7 +77,7 @@ initializeFollowDiscussion = (discussion) ->
$wrapper.show() $wrapper.show()
for thread in response for thread in response
#singleThreadUrl = Discussion.urlFor 'retrieve_single_thread #singleThreadUrl = Discussion.urlFor 'retrieve_single_thread
$similarPost = $("<a>").addClass("simialr-post") $similarPost = $("<a>").addClass("similar-post")
.html(thread["title"]) .html(thread["title"])
.attr("href", "javascript:void(0)") #TODO .attr("href", "javascript:void(0)") #TODO
.appendTo($similarPosts) .appendTo($similarPosts)
......
...@@ -213,6 +213,12 @@ form label { ...@@ -213,6 +213,12 @@ form label {
display: block; display: block;
margin-left: -5%; margin-left: -5%;
} }
.new-post-similar-posts {
.similar-post {
display: block;
}
}
.new-post-body { .new-post-body {
margin-top: flex-gutter(); margin-top: flex-gutter();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment