Remove div between ul and li

This commit is contained in:
Annabel Dunstone 2016-06-13 14:30:40 -05:00
parent 6aefd3c321
commit a9dd1beea4
4 changed files with 7 additions and 6 deletions

View file

@ -74,6 +74,7 @@
.container-fluid {
background-color: $background-color;
margin-bottom: 0;
}
li {

View file

@ -1,6 +1,6 @@
.scrolling-tabs-container
%ul.nav-links.sub-nav.scrolling-tabs
%div{ class: (container_class) }
.nav-links.sub-nav.scrolling-tabs
%ul{ class: (container_class) }
.fade-left
= nav_link(controller: %w(tree blob blame edit_tree new_tree find_file)) do
= link_to project_files_path(@project) do

View file

@ -1,5 +1,5 @@
%ul.nav-links.sub-nav
%div{ class: (container_class) }
.nav-links.sub-nav
%ul{ class: (container_class) }
- if project_nav_tab?(:issues) && !current_controller?(:merge_requests)
= nav_link(controller: :issues) do
= link_to url_for_project_issues(@project, only_path: true), title: 'Issues' do

View file

@ -1,5 +1,5 @@
%ul.nav-links.sub-nav
%div{ class: (container_class) }
.nav-links.sub-nav
%ul{ class: (container_class) }
- if project_nav_tab? :pipelines
= nav_link(controller: :pipelines) do
= link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do