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
Léo-Paul Géneau
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
app/assets/javascripts/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