From 2e2421d60e8fad12bd15e48741985b7e92a0719c Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Thu, 7 Apr 2016 19:24:53 +0100 Subject: [PATCH] improve style --- react-app/.idea/workspace.xml | 143 +++++++++--------- react-app/build/helloworld.js | 20 +-- react-app/src/helloworld.js | 4 - .../file-upload/file-upload.html | 9 +- 4 files changed, 89 insertions(+), 87 deletions(-) diff --git a/react-app/.idea/workspace.xml b/react-app/.idea/workspace.xml index 8e93a2c727..50c3d7b0ef 100644 --- a/react-app/.idea/workspace.xml +++ b/react-app/.idea/workspace.xml @@ -26,18 +26,18 @@ - - + + - - + + - - + + @@ -46,18 +46,38 @@ - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + @@ -84,11 +104,11 @@ @@ -180,6 +200,20 @@ - + - - + + - - + + - + - - + + - + - - + + + + + + + + + + @@ -888,18 +903,10 @@ - + - - - - - - - - - - + + diff --git a/react-app/build/helloworld.js b/react-app/build/helloworld.js index 75711a22ea..68d79bc0e8 100644 --- a/react-app/build/helloworld.js +++ b/react-app/build/helloworld.js @@ -25,24 +25,16 @@ var CommentBox = React.createClass({ 'div', null, React.createElement( - 'div', + 'form', null, React.createElement( - 'form', - null, - React.createElement( - 'file-upload', - { raised: 'true', accept: this.state.accept, droppable: 'false', target: this.state.action, multi: 'false' }, - React.createElement('iron-icon', { icon: 'icons:add' }), - ' Add File' - ) + 'file-upload', + { raised: 'true', accept: this.state.accept, droppable: 'false', target: this.state.action, multi: 'false' }, + React.createElement('iron-icon', { icon: 'icons:add' }), + ' Add File' ) ), - React.createElement( - 'div', - null, - React.createElement('alfresco-file-list', null) - ) + React.createElement('alfresco-file-list', null) ) ); } diff --git a/react-app/src/helloworld.js b/react-app/src/helloworld.js index a39c5d3425..16ce22ba8a 100644 --- a/react-app/src/helloworld.js +++ b/react-app/src/helloworld.js @@ -19,14 +19,10 @@ var CommentBox = React.createClass({ return (
-
Add File
-
-
-
); diff --git a/react-app/webcomponents/file-upload/file-upload.html b/react-app/webcomponents/file-upload/file-upload.html index d0cee2dae8..908a7c781a 100755 --- a/react-app/webcomponents/file-upload/file-upload.html +++ b/react-app/webcomponents/file-upload/file-upload.html @@ -23,7 +23,12 @@ Example: