summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/_nav.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/merge_requests/_nav.html.haml')
-rw-r--r--app/views/projects/merge_requests/_nav.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/_nav.html.haml b/app/views/projects/merge_requests/_nav.html.haml
index 6a4fb6fb2f3..f06f1d18764 100644
--- a/app/views/projects/merge_requests/_nav.html.haml
+++ b/app/views/projects/merge_requests/_nav.html.haml
@@ -1,6 +1,6 @@
- is_sticky = local_assigns.fetch(:is_sticky, false)
-.merge-request-tabs-holder.js-sticky-tabs{ class: content_class_ref }
+.merge-request-tabs-holder.js-sticky-tabs{ class: "#{content_class_ref} #{'sticky hide' if is_sticky}" }
.merge-request-tabs-container
.scrolling-tabs-container.inner-page-scroll-tabs.is-smaller
.fade-left= icon('angle-left')