Make attachments more obvious
This commit is contained in:
parent
c4a7824a8c
commit
fbd345ea20
2 changed files with 20 additions and 7 deletions
|
@ -78,6 +78,18 @@ ul.notes {
|
||||||
.avatar {
|
.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 {
|
.note-body {
|
||||||
margin-left: 45px;
|
margin-left: 45px;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
|
@ -187,7 +199,7 @@ p.notify_controls span{
|
||||||
// TODO: end cleaup
|
// 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 {
|
.diff_file tr.line_holder {
|
||||||
.add-diff-note {
|
.add-diff-note {
|
||||||
|
|
|
@ -28,7 +28,8 @@
|
||||||
= preserve do
|
= preserve do
|
||||||
= markdown(note.note)
|
= markdown(note.note)
|
||||||
- if note.attachment.url
|
- if note.attachment.url
|
||||||
.right
|
.attachment.right
|
||||||
%div.file
|
= link_to note.attachment.url, target: "_blank" do
|
||||||
= link_to note.attachment_identifier, note.attachment.url, target: "_blank"
|
%i.icon-attachment
|
||||||
|
= note.attachment_identifier
|
||||||
.clear
|
.clear
|
||||||
|
|
Loading…
Reference in a new issue