diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-24 12:49:10 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-03-28 16:58:51 +0300 |
commit | 598973c3890de88fe239e3b4b8aa8a2574520751 (patch) | |
tree | 13bee89a74bfc0c2fc825e44aef8f6e144c18a2d /app/views/projects/merge_requests/_show.html.haml | |
parent | ad831ace7ed8d2ed999b15f8350aaa51f0490124 (diff) |
Fixed inner page tabs not being scrollable
Some inner page tabs where not scrollable like the top nav & this caused
them to break onto new lines mobile.
This pages include:
- dashboard/projects
- project -> merge_requests
- search
- project -> milestones
- project -> pipelines
Closes #18853
Diffstat (limited to 'app/views/projects/merge_requests/_show.html.haml')
-rw-r--r-- | app/views/projects/merge_requests/_show.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/merge_requests/_show.html.haml b/app/views/projects/merge_requests/_show.html.haml index 6682a85ffa6..881ee9fd596 100644 --- a/app/views/projects/merge_requests/_show.html.haml +++ b/app/views/projects/merge_requests/_show.html.haml @@ -52,8 +52,10 @@ = render 'award_emoji/awards_block', awardable: @merge_request, inline: true .merge-request-tabs-holder{ class: ("js-tabs-affix" unless ENV['RAILS_ENV'] == 'test') } - .merge-request-tabs-container - %ul.merge-request-tabs.nav-links.no-top.no-bottom + .merge-request-tabs-container.scrolling-tabs-container.inner-page-scroll-tabs + .fade-left= icon('angle-left') + .fade-right= icon('angle-right') + %ul.merge-request-tabs.nav-links.scrolling-tabs %li.notes-tab = link_to namespace_project_merge_request_path(@project.namespace, @project, @merge_request), data: { target: 'div#notes', action: 'notes', toggle: 'tab' } do Discussion |