From f19c0defd6f98f74b3d62487dde474a74d87f3e2 Mon Sep 17 00:00:00 2001 From: mlorb Date: Thu, 12 Oct 2017 15:28:00 +0200 Subject: [PATCH] remove focus from add team members button after the invite users modal closes --- .../src/components/InviteUsersModal/index.jsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/javascript/src/components/InviteUsersModal/index.jsx b/app/javascript/src/components/InviteUsersModal/index.jsx index b0f63439b..935acc355 100644 --- a/app/javascript/src/components/InviteUsersModal/index.jsx +++ b/app/javascript/src/components/InviteUsersModal/index.jsx @@ -13,7 +13,9 @@ import InviteUsersForm from "./components/InviteUsersForm"; import InviteUsersResults from "./components/InviteUsersResults"; import InviteUsersButton from "./components/InviteUsersButton"; -const StyledButtonToolbar = styled(ButtonToolbar)`float: right;`; +const StyledButtonToolbar = styled(ButtonToolbar)` + float: right; +`; class InviteUsersModal extends Component { constructor(props) { @@ -84,7 +86,11 @@ class InviteUsersModal extends Component { } return ( - +