diff options
author | Asaad Mahmood <asaadmahmood@users.noreply.github.com> | 2016-11-12 00:54:53 +0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-11-11 14:54:53 -0500 |
commit | 29efeff09532397a33bb971e91324f673b296559 (patch) | |
tree | 3d50210d23d487740482b12d987ff2d7d290f435 /webapp/components/more_direct_channels.jsx | |
parent | 2f488b13c7e6e3e89fd603c1e1c4d9e9e21dbb8c (diff) | |
download | chat-29efeff09532397a33bb971e91324f673b296559.tar.gz chat-29efeff09532397a33bb971e91324f673b296559.tar.bz2 chat-29efeff09532397a33bb971e91324f673b296559.zip |
PLT-4609 - Fixing list modals on mobile (#4536)
* PLT-4609 - Fixing list modals on mobile
* PLT-4609 - Adjust more modal height
Diffstat (limited to 'webapp/components/more_direct_channels.jsx')
-rw-r--r-- | webapp/components/more_direct_channels.jsx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/webapp/components/more_direct_channels.jsx b/webapp/components/more_direct_channels.jsx index 4cb7db28a..50ab5224a 100644 --- a/webapp/components/more_direct_channels.jsx +++ b/webapp/components/more_direct_channels.jsx @@ -12,7 +12,6 @@ import TeamStore from 'stores/team_store.jsx'; import * as AsyncClient from 'utils/async_client.jsx'; import * as UserAgent from 'utils/user_agent.jsx'; -import * as Utils from 'utils/utils.jsx'; import Constants from 'utils/constants.jsx'; import React from 'react'; @@ -185,11 +184,6 @@ export default class MoreDirectChannels extends React.Component { } render() { - let maxHeight = 1000; - if (Utils.windowHeight() <= 1200) { - maxHeight = Utils.windowHeight() - 300; - } - let teamToggle; if (global.window.mm_config.RestrictDirectMessage === 'any') { teamToggle = ( @@ -245,7 +239,6 @@ export default class MoreDirectChannels extends React.Component { {teamToggle} <SearchableUserList key={'moreDirectChannelsList_' + this.state.listType} - style={{maxHeight}} users={this.state.users} usersPerPage={USERS_PER_PAGE} nextPage={this.nextPage} |