From 912ca8e8dd2f69d8a15429f3ab4bbb7ac178ab8a Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Thu, 13 Aug 2015 12:07:32 -0700 Subject: Changed location of file upload overlay --- web/react/components/file_upload_overlay.jsx | 16 ++++++++++++++++ web/react/components/post_list.jsx | 18 +++++------------- 2 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 web/react/components/file_upload_overlay.jsx (limited to 'web/react/components') diff --git a/web/react/components/file_upload_overlay.jsx b/web/react/components/file_upload_overlay.jsx new file mode 100644 index 000000000..5f8ef0b0c --- /dev/null +++ b/web/react/components/file_upload_overlay.jsx @@ -0,0 +1,16 @@ +// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved. +// See License.txt for license information. + +module.exports = React.createClass({ + displayName: 'FileUploadOverlay', + render: function() { + return ( +
+
+ + Drop a file to upload it. +
+
+ ); + } +}); diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx index f45650279..83f806b79 100644 --- a/web/react/components/post_list.jsx +++ b/web/react/components/post_list.jsx @@ -463,19 +463,11 @@ module.exports = React.createClass({ } return ( -
-
-
- - Drop a file to upload it. -
-
-
-
-
- { more_messages } - { postCtls } -
+
+
+
+ { more_messages } + { postCtls }
-- cgit v1.2.3-1-g7c22