Round avatars for notes timeline

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-08-26 10:05:08 +03:00
parent a7dcf690fb
commit 04a87cb5c4
3 changed files with 6 additions and 4 deletions

View file

@ -10,7 +10,7 @@
content: " ";
width: 3px;
background-color: #eeeeee;
margin-left: 25px;
margin-left: 29px;
}
.timeline-entry {
@ -42,11 +42,13 @@
background: #fff;
color: #737881;
float: left;
@include border-radius(4px);
@include border-radius(40px);
@include box-shadow(0 0 0 3px #EEE);
overflow: hidden;
.avatar {
margin: 0;
padding: 0;
}
}

View file

@ -2,7 +2,7 @@
.timeline-entry
.timeline-entry-inner
.timeline-icon
= image_tag avatar_icon(note.author_email), class: "avatar s32"
= image_tag avatar_icon(note.author_email), class: "avatar s40"
.timeline-content
- if note.for_merge_request?
- if note.outdated?

View file

@ -1,7 +1,7 @@
%li.timeline-entry{ id: dom_id(note), class: dom_class(note), data: { discussion: note.discussion_id } }
.timeline-entry-inner
.timeline-icon
= image_tag avatar_icon(note.author_email), class: "avatar s32"
= image_tag avatar_icon(note.author_email), class: "avatar s40"
.timeline-content
.note-header
.note-actions