Commit d3de86c6 authored by Mike Greiling's avatar Mike Greiling

add separator before milestone reference in collapsed view

parent 38c13673
...@@ -66,6 +66,12 @@ ...@@ -66,6 +66,12 @@
.milestone-stat:last-child { .milestone-stat:last-child {
margin-right: 0; margin-right: 0;
} }
.right-sidebar-collapsed & {
.reference {
border-top: 1px solid $border-gray-normal;
}
}
} }
.milestone-summary { .milestone-summary {
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
- milestone_ref = milestone.try(:to_reference, full: true) - milestone_ref = milestone.try(:to_reference, full: true)
- if milestone_ref.present? - if milestone_ref.present?
.block .block.reference
.sidebar-collapsed-icon.dont-change-state .sidebar-collapsed-icon.dont-change-state
= clipboard_button(clipboard_text: milestone_ref, title: "Copy reference to clipboard", placement: "left") = clipboard_button(clipboard_text: milestone_ref, title: "Copy reference to clipboard", placement: "left")
.cross-project-reference.hide-collapsed .cross-project-reference.hide-collapsed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment