mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Make copy button in collapsed sidebar work.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user