BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
bc6ad4f0
Commit
bc6ad4f0
authored
Jan 20, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build sidebar scrolling
parent
8891536c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
build.js
app/assets/javascripts/build.js
+0
-16
No files found.
app/assets/javascripts/build.js
View file @
bc6ad4f0
...
...
@@ -67,22 +67,6 @@
Build
.
prototype
.
initSidebar
=
function
()
{
this
.
$sidebar
=
$
(
'.js-build-sidebar'
);
<<<<<<<
36
beffc12461d2e479ad8b000b7ba5b6ea40cd33
this
.
sidebarTranslationLimits
=
{
<<<<<<<
3
ee255139ab555ec49a177d3b2eed65580f36c4f
min
:
$
(
'.navbar-gitlab'
).
outerHeight
()
+
$
(
'.layout-nav'
).
outerHeight
()
};
this
.
sidebarTranslationLimits
.
max
=
this
.
sidebarTranslationLimits
.
min
+
$
(
'.scrolling-tabs-container'
).
outerHeight
();
=======
min
:
0
}
this
.
sidebarTranslationLimits
.
max
=
$
(
'.scrolling-tabs-container'
).
outerHeight
()
+
$
(
'.navbar-gitlab'
).
outerHeight
()
+
$
(
'.layout-nav'
).
outerHeight
();
>>>>>>>
Fix
sidebar
scrolling
this
.
$sidebar
.
css
({
top
:
this
.
sidebarTranslationLimits
.
max
});
=======
>>>>>>>
Keep
sidebars
absolute
until
fixed
at
top
;
remove
unneeded
JS
this
.
$sidebar
.
niceScroll
();
this
.
$document
.
off
(
'click'
,
'.js-sidebar-build-toggle'
).
on
(
'click'
,
'.js-sidebar-build-toggle'
,
this
.
toggleSidebar
);
};
...
...
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