Allow center top menu to span multiple lines
This commit is contained in:
parent
f5430e48b4
commit
c64a881a40
4 changed files with 10 additions and 12 deletions
|
@ -333,7 +333,7 @@ table {
|
||||||
}
|
}
|
||||||
|
|
||||||
.well {
|
.well {
|
||||||
margin-bottom: 0;
|
margin-bottom: $gl-padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search_box {
|
.search_box {
|
||||||
|
@ -379,9 +379,8 @@ table {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-bottom: $gl-padding;
|
margin-bottom: $gl-padding;
|
||||||
height: 56px;
|
height: auto;
|
||||||
margin-top: -$gl-padding;
|
margin-top: -$gl-padding;
|
||||||
padding-top: $gl-padding;
|
|
||||||
|
|
||||||
&.no-bottom {
|
&.no-bottom {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -390,6 +389,13 @@ table {
|
||||||
&.no-top {
|
&.no-top {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li a {
|
||||||
|
display: inline-block;
|
||||||
|
padding-top: $gl-padding;
|
||||||
|
padding-bottom: 11px;
|
||||||
|
margin-bottom: -1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.center-middle-menu {
|
.center-middle-menu {
|
||||||
|
|
|
@ -82,9 +82,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.center-top-menu {
|
.center-top-menu {
|
||||||
height: 45px;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
|
|
||||||
li a {
|
li a {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 19px 10px;
|
padding: 19px 10px;
|
||||||
|
|
|
@ -67,9 +67,4 @@
|
||||||
color: #3084bb !important;
|
color: #3084bb !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.build-top-menu {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#up-build-trace
|
#up-build-trace
|
||||||
- if @commit.matrix_for_ref?(@build.ref)
|
- if @commit.matrix_for_ref?(@build.ref)
|
||||||
%ul.center-top-menu.build-top-menu
|
%ul.center-top-menu.no-top.no-bottom
|
||||||
- @commit.latest_builds_for_ref(@build.ref).each do |build|
|
- @commit.latest_builds_for_ref(@build.ref).each do |build|
|
||||||
%li{class: ('active' if build == @build) }
|
%li{class: ('active' if build == @build) }
|
||||||
= link_to namespace_project_build_path(@project.namespace, @project, build) do
|
= link_to namespace_project_build_path(@project.namespace, @project, build) do
|
||||||
|
|
Loading…
Reference in a new issue