Resolve "Sidebar on jobs and wikis is missing at small widths"

This commit is contained in:
Clement Ho 2018-06-28 21:51:14 +00:00 committed by Mike Greiling
parent 763e6549e7
commit eabe16802a
3 changed files with 7 additions and 2 deletions

View file

@ -164,7 +164,7 @@ export default class Job extends LogOutputBehaviours {
// eslint-disable-next-line class-methods-use-this
shouldHideSidebarForViewport() {
const bootstrapBreakpoint = bp.getBreakpointSize();
return bootstrapBreakpoint === 'xs' || bootstrapBreakpoint === 'sm';
return bootstrapBreakpoint === 'xs';
}
toggleSidebar(shouldHide) {

View file

@ -48,7 +48,7 @@ export default class Wikis {
static sidebarCanCollapse() {
const bootstrapBreakpoint = bp.getBreakpointSize();
return bootstrapBreakpoint === 'xs' || bootstrapBreakpoint === 'sm';
return bootstrapBreakpoint === 'xs';
}
renderSidebar() {

View file

@ -0,0 +1,5 @@
---
title: Fix sidebar collapse breapoints for job and wiki pages
merge_request:
author:
type: fixed