summaryrefslogtreecommitdiffstats
path: root/web/react/components/more_direct_channels.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2015-12-04 13:21:40 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2015-12-04 19:19:21 +0500
commit62ee998714bbb2bcd5759ff71ed4818c62b43806 (patch)
treee0fdd4be98c5274ce47ea8ae8f9886b5150f8d30 /web/react/components/more_direct_channels.jsx
parent622fbc67402fe36bc01163a5a80643a15758e094 (diff)
downloadchat-62ee998714bbb2bcd5759ff71ed4818c62b43806.tar.gz
chat-62ee998714bbb2bcd5759ff71ed4818c62b43806.tar.bz2
chat-62ee998714bbb2bcd5759ff71ed4818c62b43806.zip
Multiple UI Improvements
Diffstat (limited to 'web/react/components/more_direct_channels.jsx')
-rw-r--r--web/react/components/more_direct_channels.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/more_direct_channels.jsx b/web/react/components/more_direct_channels.jsx
index 9116dc8f1..cf40af6ae 100644
--- a/web/react/components/more_direct_channels.jsx
+++ b/web/react/components/more_direct_channels.jsx
@@ -166,7 +166,7 @@ export default class MoreDirectChannels extends React.Component {
componentDidUpdate(prevProps) {
if (!prevProps.show && this.props.show) {
- $(ReactDOM.findDOMNode(this.refs.userList)).css('max-height', $(window).height() - 300);
+ $(ReactDOM.findDOMNode(this.refs.userList)).css('max-height', $(window).height() - 50);
if ($(window).width() > 768) {
$(ReactDOM.findDOMNode(this.refs.userList)).perfectScrollbar();
}