Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-06-08 15:21:03 +0300
committerPhil Hughes <me@iamphill.com>2017-06-08 15:21:03 +0300
commitb2a27d4a2cbb4f70779cec20f299883e0a27bd60 (patch)
treee5b57726d1bce53800fae05875492bddbfeb95d8 /app/assets
parent1490d65e4541f8fdf4fc8257b0621bdd750dd904 (diff)
Resolve "Jobs page scrollbar and centering"
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/build.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/build.js b/app/assets/javascripts/build.js
index 072a899e9f2..3b2bb6f082f 100644
--- a/app/assets/javascripts/build.js
+++ b/app/assets/javascripts/build.js
@@ -80,7 +80,7 @@ window.Build = (function () {
this.$scrollContainer.niceScroll({
cursorcolor: '#fff',
cursoropacitymin: 1,
- cursorwidth: '3px',
+ cursorwidth: '7px',
railpadding: { top: 5, bottom: 5, right: 5 },
});
@@ -238,7 +238,7 @@ window.Build = (function () {
};
Build.prototype.toggleSidebar = function (shouldHide) {
- const shouldShow = !shouldHide;
+ const shouldShow = typeof shouldHide === 'boolean' ? !shouldHide : undefined;
this.$buildTrace
.toggleClass('sidebar-expanded', shouldShow)