Commit d7514ce8 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'mw-gl-breakpoints-11' into 'master'

Replace breakpoints with GlBreakpointInstance in pages/projects/wikis/wikis.js

See merge request gitlab-org/gitlab!22017
parents 52837476 e956674d
import bp from '../../../breakpoints';
import { GlBreakpointInstance as bp } from '@gitlab/ui/dist/utils';
import { s__, sprintf } from '~/locale';
export default class Wikis {
......@@ -52,7 +52,7 @@ export default class Wikis {
static sidebarCanCollapse() {
const bootstrapBreakpoint = bp.getBreakpointSize();
return bootstrapBreakpoint === 'xs';
return bootstrapBreakpoint === 'xs' || bootstrapBreakpoint === 'sm';
}
renderSidebar() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment