Commit bf27728e authored by Lee Tickett's avatar Lee Tickett Committed by Kushal Pandya

Sidebar not expanding at certain resolutions

parent 5955f420
...@@ -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