Skip to content
Snippets Groups Projects
Commit fbd345ea authored by Riyad Preukschas's avatar Riyad Preukschas
Browse files

Make attachments more obvious

parent c4a7824a
No related branches found
No related tags found
1 merge request!1878Discussions (a.k.a. Grouped Comments)
Loading
Loading
@@ -76,10 +76,22 @@ ul.notes {
p { color: $style_color; }
 
.avatar {
margin-top:3px;
margin-top: 3px;
}
.attachment {
font-size: 16px;
margin-top: -20px;
.icon-attachment {
@extend .icon-paper-clip;
font-size: 24px;
position: relative;
text-align: right;
top: 6px;
}
}
.note-body {
margin-left:45px;
margin-left: 45px;
padding-top: 5px;
}
.note-header {
Loading
Loading
@@ -187,7 +199,7 @@ p.notify_controls span{
// TODO: end cleaup
 
/**
* add line note button on the side of diffs
* line note button on the side of diffs
*/
.diff_file tr.line_holder {
.add-diff-note {
Loading
Loading
Loading
Loading
@@ -27,8 +27,9 @@
.note-body
= preserve do
= markdown(note.note)
- if note.attachment.url
.right
%div.file
= link_to note.attachment_identifier, note.attachment.url, target: "_blank"
- if note.attachment.url
.attachment.right
= link_to note.attachment.url, target: "_blank" do
%i.icon-attachment
= note.attachment_identifier
.clear
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment