Resolve "Jobs page scrollbar and centering"
This commit is contained in:
parent
1490d65e45
commit
b2a27d4a2c
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -13,7 +13,7 @@ module NavHelper
|
|||
else
|
||||
"page-gutter right-sidebar-expanded"
|
||||
end
|
||||
elsif current_path?('builds#show')
|
||||
elsif current_path?('jobs#show')
|
||||
"page-gutter build-sidebar right-sidebar-expanded"
|
||||
elsif current_path?('wikis#show') ||
|
||||
current_path?('wikis#edit') ||
|
||||
|
|
Loading…
Reference in a new issue