BigW Consortium Gitlab

Commit 7e82da85 by Filipa Lacerda

Merge branch 'fly-out-fix-hiding' into 'master'

Removed display styles when hiding the fly out navigation Closes #36224 See merge request !13431
parents b79a551c dd3e7202
......@@ -49,7 +49,8 @@ export const hideSubLevelItems = (el) => {
el.classList.remove('is-showing-fly-out');
el.classList.remove('is-over');
subItems.style.display = 'none';
subItems.style.display = '';
subItems.style.transform = '';
subItems.classList.remove('is-above');
};
......
......@@ -59,7 +59,7 @@ describe('Fly out sidebar navigation', () => {
expect(
el.querySelector('.sidebar-sub-level-items').style.display,
).toBe('none');
).toBe('');
});
it('does not hude subitems on mobile', () => {
......
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