Commit 04a87cb5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Round avatars for notes timeline

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a7dcf690
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
content: " "; content: " ";
width: 3px; width: 3px;
background-color: #eeeeee; background-color: #eeeeee;
margin-left: 25px; margin-left: 29px;
} }
.timeline-entry { .timeline-entry {
...@@ -42,11 +42,13 @@ ...@@ -42,11 +42,13 @@
background: #fff; background: #fff;
color: #737881; color: #737881;
float: left; float: left;
@include border-radius(4px); @include border-radius(40px);
@include box-shadow(0 0 0 3px #EEE); @include box-shadow(0 0 0 3px #EEE);
overflow: hidden;
.avatar { .avatar {
margin: 0; margin: 0;
padding: 0;
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.timeline-entry .timeline-entry
.timeline-entry-inner .timeline-entry-inner
.timeline-icon .timeline-icon
= image_tag avatar_icon(note.author_email), class: "avatar s32" = image_tag avatar_icon(note.author_email), class: "avatar s40"
.timeline-content .timeline-content
- if note.for_merge_request? - if note.for_merge_request?
- if note.outdated? - if note.outdated?
......
%li.timeline-entry{ id: dom_id(note), class: dom_class(note), data: { discussion: note.discussion_id } } %li.timeline-entry{ id: dom_id(note), class: dom_class(note), data: { discussion: note.discussion_id } }
.timeline-entry-inner .timeline-entry-inner
.timeline-icon .timeline-icon
= image_tag avatar_icon(note.author_email), class: "avatar s32" = image_tag avatar_icon(note.author_email), class: "avatar s40"
.timeline-content .timeline-content
.note-header .note-header
.note-actions .note-actions
......
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