Restyle button and adjust position of back up arrow
Squashed commits: [47c4a02] Remove styling for return to top of post button
This commit is contained in:
parent
5fa4519e93
commit
3ac66128ad
2 changed files with 6 additions and 13 deletions
|
|
@ -392,13 +392,6 @@ h3 { margin-top: 0; }
|
|||
}
|
||||
}
|
||||
|
||||
.show_comments.bottom_collapse {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 14px;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
#bottom_bar_tabs {
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@
|
|||
-# the COPYRIGHT file.
|
||||
|
||||
.add_comment_bottom_link_container
|
||||
= link_to "#", class: "back_to_stream_element_top pull-right" do
|
||||
= image_tag "mobile/arrow_up_small.png"
|
||||
|
||||
- if user_signed_in?
|
||||
= form_tag( post_comments_path(post_id), id: "new_comment_on_#{post_id}", class: 'new_comment', autocomplete: "off") do
|
||||
= form_tag( post_comments_path(post_id), id: "new_comment_on_#{post_id}", class: "new_comment", autocomplete: "off") do
|
||||
%fieldset
|
||||
.control-group
|
||||
= hidden_field_tag :post_id, post_id, id: "post_id_on_#{post_id}"
|
||||
= text_area_tag :text, nil, class: "col-md-12 comment_box form-control form-group", id: "comment_text_on_#{post_id}", placeholder: t('.comment')
|
||||
= submit_tag t('.comment'), id: "comment_submit_#{post_id}", 'data-disable-with' => t('.commenting'), class: "btn btn-primary pull-right"
|
||||
= text_area_tag :text, nil, class: "col-md-12 comment_box form-control form-group", id: "comment_text_on_#{post_id}", placeholder: t(".comment")
|
||||
= submit_tag t(".comment"), id: "comment_submit_#{post_id}", 'data-disable-with' => t(".commenting"), class: "btn btn-primary btn-block"
|
||||
.clearfix
|
||||
|
||||
= link_to "#", class: "back_to_stream_element_top" do
|
||||
= image_tag "mobile/arrow_up_small.png"
|
||||
|
|
|
|||
Loading…
Reference in a new issue