diff --git a/src/views/preview/comment/comment.scss b/src/views/preview/comment/comment.scss index 7e242a684..53644e822 100644 --- a/src/views/preview/comment/comment.scss +++ b/src/views/preview/comment/comment.scss @@ -21,6 +21,10 @@ } } + .full-width-form { + width: 100%; + } + .textarea-row { width: 100%; diff --git a/src/views/preview/comment/compose-comment.jsx b/src/views/preview/comment/compose-comment.jsx index 9f94563f2..bc97fb66d 100644 --- a/src/views/preview/comment/compose-comment.jsx +++ b/src/views/preview/comment/compose-comment.jsx @@ -5,6 +5,7 @@ const classNames = require('classnames'); const keyMirror = require('keymirror'); const FormattedMessage = require('react-intl').FormattedMessage; +const Formsy = require('formsy-react').default; const FlexRow = require('../../../components/flex-row/flex-row.jsx'); const Avatar = require('../../../components/avatar/avatar.jsx'); const InplaceInput = require('../../../components/forms/inplace-input.jsx'); @@ -111,46 +112,49 @@ class ComposeComment extends React.Component { ) : null} - = 0 ? 'compose-valid' : 'compose-invalid')} - handleUpdate={onUpdate} - name="compose-comment" - type="textarea" - value={this.state.message} - onInput={this.handleInput} - /> - - - - + = 0 ? 'compose-valid' : 'compose-invalid')} - > - - - + handleUpdate={onUpdate} + name="compose-comment" + type="textarea" + value={this.state.message} + onInput={this.handleInput} + /> + + + + = 0 ? + 'compose-valid' : 'compose-invalid')} + > + + + + ); diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index 610b8eb10..31c268de1 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -97,7 +97,7 @@ const PreviewPresentation = ({ )} { projectInfo && projectInfo.author && projectInfo.author.id && ( - +
@@ -109,20 +109,22 @@ const PreviewPresentation = ({
{editable ? - : + + + :
{editable ? - : + + + :
{decorateText(projectInfo.instructions)}
@@ -248,28 +252,30 @@ const PreviewPresentation = ({
{editable ? - : + + + :
{decorateText(projectInfo.description)}
@@ -401,7 +407,7 @@ const PreviewPresentation = ({
-
+ )} );