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
iv
gitlab-ce
Commits
b3a0ee8e
Commit
b3a0ee8e
authored
Jul 02, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MR tab width
parent
15a03e1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/assets/stylesheets/nav.scss
app/assets/stylesheets/nav.scss
+5
-0
app/views/layouts/_project_menu.html.haml
app/views/layouts/_project_menu.html.haml
+1
-1
No files found.
app/assets/stylesheets/nav.scss
View file @
b3a0ee8e
...
@@ -79,6 +79,11 @@ nav.main_menu {
...
@@ -79,6 +79,11 @@ nav.main_menu {
border-left
:none
;
border-left
:none
;
}
}
}
}
&
.wide
{
width
:
185px
;
@media
(
min-width
:
1080px
)
and
(
max-width
:
1200px
)
{
width
:
160px
;
}
}
}
}
}
}
/*
/*
...
...
app/views/layouts/_project_menu.html.haml
View file @
b3a0ee8e
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
Issues
Issues
%span
.count
=
@project
.
issues
.
opened
.
count
%span
.count
=
@project
.
issues
.
opened
.
count
-
if
@project
.
merge_requests_enabled
-
if
@project
.
merge_requests_enabled
=
link_to
project_merge_requests_path
(
@project
),
:class
=>
(
controller
.
controller_name
==
"merge_requests"
)
?
"current
"
:
nil
do
=
link_to
project_merge_requests_path
(
@project
),
:class
=>
(
controller
.
controller_name
==
"merge_requests"
)
?
"current
wide"
:
"wide"
do
Merge Requests
Merge Requests
%span
.count
=
@project
.
merge_requests
.
opened
.
count
%span
.count
=
@project
.
merge_requests
.
opened
.
count
...
...
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