Commit 2b3ac7af authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'sidebar_not_expanding_at_certain_resolutions' into 'master'

Sidebar not expanding at certain resolutions

Closes #28921

See merge request gitlab-org/gitlab!25313
parents fdbf45dc bf27728e
...@@ -200,7 +200,8 @@ document.addEventListener('DOMContentLoaded', () => { ...@@ -200,7 +200,8 @@ document.addEventListener('DOMContentLoaded', () => {
} }
}); });
if (bootstrapBreakpoint === 'sm' || bootstrapBreakpoint === 'xs') { const isBoardsPage = /(projects|groups):boards:show/.test(document.body.dataset.page);
if (!isBoardsPage && (bootstrapBreakpoint === 'sm' || bootstrapBreakpoint === 'xs')) {
const $rightSidebar = $('aside.right-sidebar'); const $rightSidebar = $('aside.right-sidebar');
const $layoutPage = $('.layout-page'); const $layoutPage = $('.layout-page');
......
---
title: Fix bug with sidebar not expanding at certain resolutions
merge_request: 25313
author: Lee Tickett
type: fixed
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