From c0a631000e20b504c8f264b5863f2c1d5e08706c Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 8 Nov 2016 19:58:32 +0500 Subject: 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 --- webapp/components/channel_members_modal.jsx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'webapp/components/channel_members_modal.jsx') diff --git a/webapp/components/channel_members_modal.jsx b/webapp/components/channel_members_modal.jsx index 85226fd02..aa511086d 100644 --- a/webapp/components/channel_members_modal.jsx +++ b/webapp/components/channel_members_modal.jsx @@ -13,7 +13,6 @@ import {removeUserFromChannel} from 'actions/channel_actions.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 React from 'react'; import {Modal} from 'react-bootstrap'; @@ -144,11 +143,6 @@ export default class ChannelMembersModal extends React.Component { if (this.state.loading) { content = (); } else { - let maxHeight = 1000; - if (Utils.windowHeight() <= 1200) { - maxHeight = Utils.windowHeight() - 300; - } - let removeButton = null; if (this.props.isAdmin) { removeButton = [this.createRemoveMemberButton]; @@ -156,7 +150,6 @@ export default class ChannelMembersModal extends React.Component { content = (