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