Make copy button in collapsed sidebar work.
This commit is contained in:
parent
dcfdef689a
commit
306c50cecd
2 changed files with 14 additions and 1 deletions
|
@ -235,6 +235,19 @@
|
|||
display: block;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.btn-clipboard {
|
||||
border: none;
|
||||
|
||||
&:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
i {
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue