remove jobs page hack to make subnav 100% width
This commit is contained in:
parent
3f8dbf300d
commit
25d779a321
|
@ -366,9 +366,3 @@
|
|||
right: 0;
|
||||
margin-top: -17px;
|
||||
}
|
||||
|
||||
@media (min-width: $screen-md-min) {
|
||||
.sub-nav.build {
|
||||
width: calc(100% + #{$gutter_width});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
.layout-nav
|
||||
.container-fluid
|
||||
= render "layouts/nav/#{nav}"
|
||||
.content-wrapper{ class: layout_nav_class }
|
||||
- if content_for?(:sub_nav)
|
||||
= yield :sub_nav
|
||||
.content-wrapper{ class: layout_nav_class }
|
||||
.alert-wrapper
|
||||
= render "layouts/broadcast"
|
||||
= render "layouts/flash"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- @no_container = true
|
||||
- page_title "#{@build.name} (##{@build.id})", "Jobs"
|
||||
= render "projects/pipelines/head", build_subnav: true
|
||||
= render "projects/pipelines/head"
|
||||
|
||||
%div{ class: container_class }
|
||||
.build-page
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
= content_for :sub_nav do
|
||||
.scrolling-tabs-container.sub-nav-scroll
|
||||
= render 'shared/nav_scroll'
|
||||
.nav-links.sub-nav.scrolling-tabs{ class: ('build' if local_assigns.fetch(:build_subnav, false)) }
|
||||
.nav-links.sub-nav.scrolling-tabs
|
||||
%ul{ class: (container_class) }
|
||||
- if project_nav_tab? :pipelines
|
||||
= nav_link(path: 'pipelines#index', controller: :pipelines) do
|
||||
|
|
Loading…
Reference in New Issue