summaryrefslogtreecommitdiff
path: root/app/views/projects/commits
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-08-10 15:41:31 -0500
committerClement Ho <ClemMakesApps@gmail.com>2016-08-25 18:01:37 -0500
commit4d6dfeee1af07f6e8950ff73b30707d2a72fc938 (patch)
tree3f6f1969a5c7e43f275d2529801ca24c79e2f2e8 /app/views/projects/commits
parent501b570dee030ef7124cc001b251769d723d376e (diff)
downloadgitlab-ce-4d6dfeee1af07f6e8950ff73b30707d2a72fc938.tar.gz
Add horizontal scrolling to all sub-navs on mobile viewports
Diffstat (limited to 'app/views/projects/commits')
-rw-r--r--app/views/projects/commits/_head.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/projects/commits/_head.html.haml b/app/views/projects/commits/_head.html.haml
index 61152649907..4d1ee1c5318 100644
--- a/app/views/projects/commits/_head.html.haml
+++ b/app/views/projects/commits/_head.html.haml
@@ -1,8 +1,5 @@
.scrolling-tabs-container.sub-nav-scroll
- .fade-left
- = icon('angle-left')
- .fade-right
- = icon('angle-right')
+ = render 'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul{ class: (container_class) }
= nav_link(controller: %w(tree blob blame edit_tree new_tree find_file)) do