mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:29:52 +01:00
timestamps for comments and CSS fixes
This commit is contained in:
parent
c7cecba025
commit
ab6983001e
3 changed files with 14 additions and 2 deletions
|
@ -6,6 +6,10 @@
|
|||
list-style-type: none;
|
||||
}
|
||||
|
||||
.comments .pull-right {
|
||||
margin-top: -13px;
|
||||
}
|
||||
|
||||
.comments--box {
|
||||
z-index: 99;
|
||||
}
|
||||
|
@ -24,6 +28,10 @@
|
|||
word-break: normal;
|
||||
}
|
||||
|
||||
.comments--content p {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.comments--media {
|
||||
overflow: visible !important;
|
||||
}
|
|
@ -8,7 +8,9 @@
|
|||
.pull-left
|
||||
%img.img-rounded.answerbox--img{src: gravatar_url(comment.user)}
|
||||
.media-body.comments--body
|
||||
%h6.media-heading.answerbox--question-user= user_screen_name comment.user
|
||||
%h6.media-heading.answerbox--question-user
|
||||
= user_screen_name comment.user
|
||||
%span.text-muted= "#{time_ago_in_words(comment.created_at)} ago"
|
||||
- if comment.user == current_user
|
||||
.pull-right
|
||||
.btn-group
|
||||
|
|
|
@ -9,7 +9,9 @@
|
|||
.pull-left
|
||||
%img.img-rounded.answerbox--img{src: gravatar_url(comment.user)}
|
||||
.media-body.comments--body
|
||||
%h6.media-heading.answerbox--question-user= user_screen_name comment.user
|
||||
%h6.media-heading.answerbox--question-user
|
||||
= user_screen_name comment.user
|
||||
%span.text-muted= "#{time_ago_in_words(comment.created_at)} ago"
|
||||
.pull-right
|
||||
%span.hidden-xs.text-muted
|
||||
- unless user_signed_in?
|
||||
|
|
Loading…
Reference in a new issue