diff options
author | Asaad Mahmood <asaadmahmood@users.noreply.github.com> | 2016-11-08 19:58:32 +0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-11-08 09:58:32 -0500 |
commit | c0a631000e20b504c8f264b5863f2c1d5e08706c (patch) | |
tree | 61f2227550eee6dd52c7a076f862ebfaf3b3ad15 /webapp/components/more_direct_channels.jsx | |
parent | 428444d1852f3949ece0a9f6b73843f46c4a0fb7 (diff) | |
download | chat-c0a631000e20b504c8f264b5863f2c1d5e08706c.tar.gz chat-c0a631000e20b504c8f264b5863f2c1d5e08706c.tar.bz2 chat-c0a631000e20b504c8f264b5863f2c1d5e08706c.zip |
PLT-4609 - Fixing list modals on mobile (#4453)
* PLT-4609 - Fixing list modals on mobile
Removing style prop
Removing utils import
PLT-4609 - Fixing list modals on mobile
Removing style prop
Removing utils import
Removing Utils
Removing memberlist style prop
Removing blank line
* Removing height code from team members modal
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 7c61d2f2e..f672cb617 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'; @@ -182,11 +181,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 = ( @@ -242,7 +236,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} |