summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/admin_sidebar.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-08-19 00:21:34 +0500
committerChristopher Speller <crspeller@gmail.com>2017-08-18 12:21:34 -0700
commitb60cc5b28e2845dd7b1bab8da570e377fe16a09b (patch)
tree8494a3aee8d3e54e96c32c2d32a1f9c138770f96 /webapp/components/admin_console/admin_sidebar.jsx
parentf720288c10c6de5794162053ba565ce090d4f9a3 (diff)
downloadchat-b60cc5b28e2845dd7b1bab8da570e377fe16a09b.tar.gz
chat-b60cc5b28e2845dd7b1bab8da570e377fe16a09b.tar.bz2
chat-b60cc5b28e2845dd7b1bab8da570e377fe16a09b.zip
Multiple bug fixes (#7243)
* PLT-7320 - Fixing alignment of x icon * PLT-7357 - Fixing close icon in compact view * PLT-7322 - Fixing overflow for delete token modal * PLT-7351 - Fixing flag icon alignment * PLT-7393 - Fixing cursor on upload button * PLT-7392 - Fixing scrollbar in admin console * PLT-7376 - Fixing hover effect for mobile nav
Diffstat (limited to 'webapp/components/admin_console/admin_sidebar.jsx')
-rw-r--r--webapp/components/admin_console/admin_sidebar.jsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/webapp/components/admin_console/admin_sidebar.jsx b/webapp/components/admin_console/admin_sidebar.jsx
index f417cfe56..97b63e9c6 100644
--- a/webapp/components/admin_console/admin_sidebar.jsx
+++ b/webapp/components/admin_console/admin_sidebar.jsx
@@ -29,13 +29,17 @@ export default class AdminSidebar extends React.Component {
this.updateTitle();
if (!Utils.isMobile()) {
- $('.admin-sidebar .nav-pills__container').perfectScrollbar();
+ $('.admin-sidebar .nav-pills__container').perfectScrollbar({
+ suppressScrollX: true
+ });
}
}
componentDidUpdate() {
if (!Utils.isMobile()) {
- $('.admin-sidebar .nav-pills__container').perfectScrollbar();
+ $('.admin-sidebar .nav-pills__container').perfectScrollbar({
+ suppressScrollX: true
+ });
}
}