Make copy button in collapsed sidebar work.

This commit is contained in:
Jacob Schatz 2016-02-05 19:43:18 -05:00
parent dcfdef689a
commit 306c50cecd
2 changed files with 14 additions and 1 deletions

View file

@ -235,6 +235,19 @@
display: block;
margin-top: 0;
}
.btn-clipboard {
border: none;
&:hover {
background: transparent;
}
i {
color: #999999;
}
}
}
}

View file

@ -118,7 +118,7 @@
- project_ref = cross_project_reference(@project, issuable)
.block.project-reference
.sidebar-collapsed-icon
= icon('clipboard')
= clipboard_button(clipboard_text: project_ref)
.title
.cross-project-reference
%span