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_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_channels.jsx')
-rw-r--r-- | webapp/components/more_channels.jsx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/webapp/components/more_channels.jsx b/webapp/components/more_channels.jsx index b35f5b997..e57c5d25f 100644 --- a/webapp/components/more_channels.jsx +++ b/webapp/components/more_channels.jsx @@ -96,11 +96,6 @@ export default class MoreChannels extends React.Component { } render() { - let maxHeight = 1000; - if (Utils.windowHeight() <= 1200) { - maxHeight = Utils.windowHeight() - 300; - } - let serverError; if (this.state.serverError) { serverError = <div className='form-group has-error'><label className='control-label'>{this.state.serverError}</label></div>; @@ -204,10 +199,7 @@ export default class MoreChannels extends React.Component { onModalDismissed={() => this.setState({showNewChannelModal: false})} /> </div> - <div - className='modal-body' - style={{maxHeight}} - > + <div className='modal-body'> {moreChannels} {serverError} </div> |