summaryrefslogtreecommitdiffstats
path: root/webapp/components/team_members_modal.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2016-11-08 19:58:32 +0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-11-08 09:58:32 -0500
commitc0a631000e20b504c8f264b5863f2c1d5e08706c (patch)
tree61f2227550eee6dd52c7a076f862ebfaf3b3ad15 /webapp/components/team_members_modal.jsx
parent428444d1852f3949ece0a9f6b73843f46c4a0fb7 (diff)
downloadchat-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/team_members_modal.jsx')
-rw-r--r--webapp/components/team_members_modal.jsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/webapp/components/team_members_modal.jsx b/webapp/components/team_members_modal.jsx
index 76ffafe27..b58a93157 100644
--- a/webapp/components/team_members_modal.jsx
+++ b/webapp/components/team_members_modal.jsx
@@ -3,7 +3,6 @@
import MemberListTeam from './member_list_team.jsx';
import TeamStore from 'stores/team_store.jsx';
-import * as Utils from 'utils/utils.jsx';
import {FormattedMessage} from 'react-intl';
@@ -46,11 +45,6 @@ export default class TeamMembersModal extends React.Component {
teamDisplayName = this.state.team.display_name;
}
- let maxHeight = 1000;
- if (Utils.windowHeight() <= 1200) {
- maxHeight = Utils.windowHeight() - 300;
- }
-
return (
<Modal
dialogClassName='more-modal'
@@ -71,7 +65,6 @@ export default class TeamMembersModal extends React.Component {
</Modal.Header>
<Modal.Body>
<MemberListTeam
- style={{maxHeight}}
isAdmin={this.props.isAdmin}
/>
</Modal.Body>