diff options
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/sidebar.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/components/sidebar.jsx b/webapp/components/sidebar.jsx index 500e73cf2..2ccf01740 100644 --- a/webapp/components/sidebar.jsx +++ b/webapp/components/sidebar.jsx @@ -168,6 +168,10 @@ export default class Sidebar extends React.Component { if (!Utils.isMobile()) { $('.sidebar--left .nav-pills__container').perfectScrollbar(); } + + // close the LHS on mobile when you change channels + $('.app__body .inner-wrap').removeClass('move--right'); + $('.app__body .sidebar--left').removeClass('move--right'); } componentWillUnmount() { window.removeEventListener('resize', this.handleResize); |