Fix UI bugs with discussions

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-09-09 11:36:55 +02:00
parent 86556a079e
commit c9d78a00c5
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A
3 changed files with 22 additions and 5 deletions

View file

@ -4,14 +4,19 @@
margin: 0;
padding: 0;
> li {
.timeline-entry {
padding: $gl-padding;
border-color: #f1f2f4;
margin-left: -$gl-padding;
margin-right: -$gl-padding;
color: $gl-gray;
border-bottom: 1px solid #f1f2f4;
border-right: 1px solid #f1f2f4;
&:last-child {
border-bottom: none;
}
.avatar {
margin-right: 15px;
}
@ -33,6 +38,13 @@
color: $gl-gray !important;
}
}
.diff-file {
border: 1px solid $border-color;
border-bottom: none;
margin-left: 0;
margin-right: 0;
}
}
@media (max-width: $screen-xs-max) {
@ -51,3 +63,8 @@
}
}
}
.discussion .timeline-entry {
margin: 0;
border-right: none;
}

View file

@ -146,9 +146,9 @@
}
.discussion-reply-holder {
background: #f9f9f9;
background: $background-color;
padding: 10px 15px;
border-top: 1px solid #DDD;
border-top: 1px solid $border-color;
}
}
@ -170,6 +170,6 @@
background: #FFF;
padding: 5px;
margin-top: -11px;
border: 1px solid #DDD;
border: 1px solid $border-color;
font-size: 13px;
}

View file

@ -1,5 +1,5 @@
- note = discussion_notes.first
.timeline-entry.prepend-top-default
.timeline-entry
.timeline-entry-inner
.timeline-icon
= link_to user_path(note.author) do