Merge branch '48471-sidebar-on-jobs-and-wikis-is-missing-at-small-widths' into 'master'
Resolve "Sidebar on jobs and wikis is missing at small widths" Closes #48471 See merge request gitlab-org/gitlab-ce!20188
This commit is contained in:
commit
7ba35a21f9
|
|
@ -164,7 +164,7 @@ export default class Job extends LogOutputBehaviours {
|
||||||
// eslint-disable-next-line class-methods-use-this
|
// eslint-disable-next-line class-methods-use-this
|
||||||
shouldHideSidebarForViewport() {
|
shouldHideSidebarForViewport() {
|
||||||
const bootstrapBreakpoint = bp.getBreakpointSize();
|
const bootstrapBreakpoint = bp.getBreakpointSize();
|
||||||
return bootstrapBreakpoint === 'xs' || bootstrapBreakpoint === 'sm';
|
return bootstrapBreakpoint === 'xs';
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleSidebar(shouldHide) {
|
toggleSidebar(shouldHide) {
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ export default class Wikis {
|
||||||
|
|
||||||
static sidebarCanCollapse() {
|
static sidebarCanCollapse() {
|
||||||
const bootstrapBreakpoint = bp.getBreakpointSize();
|
const bootstrapBreakpoint = bp.getBreakpointSize();
|
||||||
return bootstrapBreakpoint === 'xs' || bootstrapBreakpoint === 'sm';
|
return bootstrapBreakpoint === 'xs';
|
||||||
}
|
}
|
||||||
|
|
||||||
renderSidebar() {
|
renderSidebar() {
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Fix sidebar collapse breapoints for job and wiki pages
|
||||||
|
merge_request:
|
||||||
|
author:
|
||||||
|
type: fixed
|
||||||
Loading…
Reference in New Issue