From 53d0420e2436e203e8467f22ea066ea13b2bce41 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 10 Jul 2015 02:38:19 +0500 Subject: Improving mentions list and other UI improvements --- web/react/components/invite_member_modal.jsx | 22 ++++++++++++++-------- web/react/components/mention_list.jsx | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'web/react') diff --git a/web/react/components/invite_member_modal.jsx b/web/react/components/invite_member_modal.jsx index 9ff67ae1b..94be2acd6 100644 --- a/web/react/components/invite_member_modal.jsx +++ b/web/react/components/invite_member_modal.jsx @@ -162,25 +162,31 @@ module.exports = React.createClass({ invite_sections[index] = (
- +
{ email_error }
+
{ config.AllowInviteNames ? -
- - { first_name_error } +
+
+ + { first_name_error } +
: "" } { config.AllowInviteNames ? -
- - { last_name_error } +
+
+ + { last_name_error } +
: "" }
+
); } @@ -203,7 +209,7 @@ module.exports = React.createClass({

- + People invited automatically join Town Square channel.
diff --git a/web/react/components/mention_list.jsx b/web/react/components/mention_list.jsx index 3fac41073..25834b9e5 100644 --- a/web/react/components/mention_list.jsx +++ b/web/react/components/mention_list.jsx @@ -129,7 +129,7 @@ module.exports = React.createClass({ if (numMentions < 1) return (
); - var height = (numMentions*37) + 2; + var height = (numMentions*36) + 4; var width = $('#'+this.props.id).parent().width(); var bottom = $(window).height() - $('#'+this.props.id).offset().top; var left = $('#'+this.props.id).offset().left; -- cgit v1.2.3-1-g7c22