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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
b2a27d4a
Commit
b2a27d4a
authored
Jun 08, 2017
by
Filipa Lacerda
Committed by
Phil Hughes
Jun 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Jobs page scrollbar and centering"
parent
1490d65e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/build.js
app/assets/javascripts/build.js
+2
-2
app/helpers/nav_helper.rb
app/helpers/nav_helper.rb
+1
-1
No files found.
app/assets/javascripts/build.js
View file @
b2a27d4a
...
@@ -80,7 +80,7 @@ window.Build = (function () {
...
@@ -80,7 +80,7 @@ window.Build = (function () {
this
.
$scrollContainer
.
niceScroll
({
this
.
$scrollContainer
.
niceScroll
({
cursorcolor
:
'
#fff
'
,
cursorcolor
:
'
#fff
'
,
cursoropacitymin
:
1
,
cursoropacitymin
:
1
,
cursorwidth
:
'
3
px
'
,
cursorwidth
:
'
7
px
'
,
railpadding
:
{
top
:
5
,
bottom
:
5
,
right
:
5
},
railpadding
:
{
top
:
5
,
bottom
:
5
,
right
:
5
},
});
});
...
@@ -238,7 +238,7 @@ window.Build = (function () {
...
@@ -238,7 +238,7 @@ window.Build = (function () {
};
};
Build
.
prototype
.
toggleSidebar
=
function
(
shouldHide
)
{
Build
.
prototype
.
toggleSidebar
=
function
(
shouldHide
)
{
const
shouldShow
=
!
shouldHide
;
const
shouldShow
=
typeof
shouldHide
===
'
boolean
'
?
!
shouldHide
:
undefined
;
this
.
$buildTrace
this
.
$buildTrace
.
toggleClass
(
'
sidebar-expanded
'
,
shouldShow
)
.
toggleClass
(
'
sidebar-expanded
'
,
shouldShow
)
...
...
app/helpers/nav_helper.rb
View file @
b2a27d4a
...
@@ -13,7 +13,7 @@ module NavHelper
...
@@ -13,7 +13,7 @@ module NavHelper
else
else
"page-gutter right-sidebar-expanded"
"page-gutter right-sidebar-expanded"
end
end
elsif
current_path?
(
'
build
s#show'
)
elsif
current_path?
(
'
job
s#show'
)
"page-gutter build-sidebar right-sidebar-expanded"
"page-gutter build-sidebar right-sidebar-expanded"
elsif
current_path?
(
'wikis#show'
)
||
elsif
current_path?
(
'wikis#show'
)
||
current_path?
(
'wikis#edit'
)
||
current_path?
(
'wikis#edit'
)
||
...
...
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