From 29efeff09532397a33bb971e91324f673b296559 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Sat, 12 Nov 2016 00:54:53 +0500 Subject: PLT-4609 - Fixing list modals on mobile (#4536) * PLT-4609 - Fixing list modals on mobile * PLT-4609 - Adjust more modal height --- webapp/components/more_channels.jsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'webapp/components/more_channels.jsx') 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 =
; @@ -204,10 +199,7 @@ export default class MoreChannels extends React.Component { onModalDismissed={() => this.setState({showNewChannelModal: false})} /> -
+
{moreChannels} {serverError}
-- cgit v1.2.3-1-g7c22