diff --git a/app/assets/stylesheets/specific/comments.css.scss b/app/assets/stylesheets/specific/comments.css.scss index 9a16ffa7f..51609865a 100644 --- a/app/assets/stylesheets/specific/comments.css.scss +++ b/app/assets/stylesheets/specific/comments.css.scss @@ -9,6 +9,8 @@ div.comments-for-post { width: 12em; float: left; overflow: hidden; + margin-right: 2em; + word-wrap: break-word; h1 { display: block; @@ -17,8 +19,7 @@ div.comments-for-post { } div.content { - margin-left: 2em; - width: 35em; + width: 40em; float: left; menu { diff --git a/app/assets/stylesheets/specific/forum.css.scss b/app/assets/stylesheets/specific/forum.css.scss index de2cffacf..178fe0f54 100644 --- a/app/assets/stylesheets/specific/forum.css.scss +++ b/app/assets/stylesheets/specific/forum.css.scss @@ -3,13 +3,14 @@ div.list-of-forum-posts { margin-bottom: 3em; div.author { - width: 20%; + width: 12em; float: left; + margin-right: 2em; + word-wrap: break-word; } div.content { - margin-left: 2em; - width: 30em; + width: 40em; float: left; menu { diff --git a/app/views/forum_posts/new.js.erb b/app/views/forum_posts/new.js.erb index 788e06cdf..7da7750cc 100644 --- a/app/views/forum_posts/new.js.erb +++ b/app/views/forum_posts/new.js.erb @@ -1,5 +1,5 @@ $("#forum_post_body").val(<%= raw @forum_post.body.to_json %>); -$("#new-topic-response").show(); +$("#topic-response").show(); $('html, body').animate({ scrollTop: $("#forum_post_body").offset().top - 100 diff --git a/app/views/forum_topics/show.html.erb b/app/views/forum_topics/show.html.erb index 17c016284..d523eed21 100644 --- a/app/views/forum_topics/show.html.erb +++ b/app/views/forum_topics/show.html.erb @@ -15,9 +15,9 @@ <%= render "forum_posts/listing", :forum_posts => @forum_posts %> -

<%= link_to "Reply »".html_safe, new_forum_post_path(:topic_id => @forum_topic.id) %>

+

<%= link_to "Reply »".html_safe, new_forum_post_path(:topic_id => @forum_topic.id), :id => "new-response-link" %>

-
+ @@ -29,4 +29,21 @@ <%= content_for(:page_title) do %> Forum - <%= @forum_topic.title %> - <%= Danbooru.config.app_name %> +<% end %> + +<%= content_for(:html_header) do %> + <% end %> \ No newline at end of file