Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
c64a881a
Commit
c64a881a
authored
9 years ago
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow center top menu to span multiple lines
parent
f5430e48
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
12 deletions
+10
-12
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+9
-3
app/assets/stylesheets/framework/mobile.scss
app/assets/stylesheets/framework/mobile.scss
+0
-3
app/assets/stylesheets/pages/builds.scss
app/assets/stylesheets/pages/builds.scss
+0
-5
app/views/projects/builds/show.html.haml
app/views/projects/builds/show.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/common.scss
View file @
c64a881a
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/framework/mobile.scss
View file @
c64a881a
...
...
@@ -82,9 +82,6 @@
}
.center-top-menu
{
height
:
45px
;
margin-bottom
:
30px
;
li
a
{
font-size
:
14px
;
padding
:
19px
10px
;
...
...
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/pages/builds.scss
View file @
c64a881a
...
...
@@ -67,9 +67,4 @@
color
:
#3084bb
!
important
;
}
}
.build-top-menu
{
margin-top
:
0
;
margin-bottom
:
2px
;
}
}
This diff is collapsed.
Click to expand it.
app/views/projects/builds/show.html.haml
View file @
c64a881a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment