From 410f9a9133554014a993b14771bce151e9a63b1f Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Tue, 11 Jul 2017 00:20:31 -0700 Subject: [PATCH] styled components over inline css --- frontend/scenes/Document/Document.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/scenes/Document/Document.js b/frontend/scenes/Document/Document.js index fa28558a3..c82315c5b 100644 --- a/frontend/scenes/Document/Document.js +++ b/frontend/scenes/Document/Document.js @@ -171,13 +171,12 @@ type Props = { } {!isFetching && this.document && - - } + } ); } @@ -263,4 +262,9 @@ const DocumentContainer = styled.div` width: 50em; `; +const StyledDropToImport = styled(DropToImport)` + display: flex; + flex: 1; +`; + export default withRouter(inject('ui', 'user', 'documents')(DocumentScene));