diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-24 10:02:31 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-03-28 14:58:51 +0100 |
commit | 9a5556af47a1bae3e99a25931a4905cd9b524438 (patch) | |
tree | b40a40f092425b0220c3cefd3be9a19d00b22286 /app/views/dashboard | |
parent | 598973c3890de88fe239e3b4b8aa8a2574520751 (diff) | |
download | gitlab-ce-9a5556af47a1bae3e99a25931a4905cd9b524438.tar.gz |
Fixed tabs on desktop being all over the place
Diffstat (limited to 'app/views/dashboard')
-rw-r--r-- | app/views/dashboard/_projects_head.html.haml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/app/views/dashboard/_projects_head.html.haml b/app/views/dashboard/_projects_head.html.haml index bf0767191f3..4679b9549d1 100644 --- a/app/views/dashboard/_projects_head.html.haml +++ b/app/views/dashboard/_projects_head.html.haml @@ -1,19 +1,18 @@ = content_for :flash_message do = render 'shared/project_limit' -.top-area.scrolling-tabs-container - .inner-page-scroll-tabs - .fade-left= icon('angle-left') - .fade-right= icon('angle-right') - %ul.nav-links.scrolling-tabs - = nav_link(page: [dashboard_projects_path, root_path]) do - = link_to dashboard_projects_path, title: 'Home', class: 'shortcuts-activity', data: {placement: 'right'} do - Your projects - = nav_link(page: starred_dashboard_projects_path) do - = link_to starred_dashboard_projects_path, title: 'Starred Projects', data: {placement: 'right'} do - Starred projects - = nav_link(page: [explore_root_path, trending_explore_projects_path, starred_explore_projects_path, explore_projects_path]) do - = link_to explore_root_path, title: 'Explore', data: {placement: 'right'} do - Explore projects +.top-area.scrolling-tabs-container.inner-page-scroll-tabs + .fade-left= icon('angle-left') + .fade-right= icon('angle-right') + %ul.nav-links.scrolling-tabs + = nav_link(page: [dashboard_projects_path, root_path]) do + = link_to dashboard_projects_path, title: 'Home', class: 'shortcuts-activity', data: {placement: 'right'} do + Your projects + = nav_link(page: starred_dashboard_projects_path) do + = link_to starred_dashboard_projects_path, title: 'Starred Projects', data: {placement: 'right'} do + Starred projects + = nav_link(page: [explore_root_path, trending_explore_projects_path, starred_explore_projects_path, explore_projects_path]) do + = link_to explore_root_path, title: 'Explore', data: {placement: 'right'} do + Explore projects .nav-controls = render 'shared/projects/search_form' |