diff --git a/client/coral-embed-stream/src/tabs/stream/components/CommentForm.css b/client/coral-embed-stream/src/tabs/stream/components/CommentForm.css index 23b6564b5..5a1e66412 100644 --- a/client/coral-embed-stream/src/tabs/stream/components/CommentForm.css +++ b/client/coral-embed-stream/src/tabs/stream/components/CommentForm.css @@ -1,3 +1,18 @@ +.buttonContainer { + display: flex; + justify-content: flex-end; +} + +.button { + float: right; + margin-top: 10px; + padding: 5px 10px; + background: rgb(105, 105, 105); + color: #FFF; + border: none; + border-radius: 2px; +} + /** * Example loading state animations on the button. */ diff --git a/client/coral-embed-stream/src/tabs/stream/components/CommentForm.js b/client/coral-embed-stream/src/tabs/stream/components/CommentForm.js index 28b8bb668..a9ea8f150 100644 --- a/client/coral-embed-stream/src/tabs/stream/components/CommentForm.js +++ b/client/coral-embed-stream/src/tabs/stream/components/CommentForm.js @@ -113,7 +113,7 @@ export class CommentForm extends React.Component { charCountEnable={this.props.charCountEnable} maxCharCount={this.props.maxCharCount} /> -
+
{this.props.buttonContainerStart} {typeof this.props.onCancel === 'function' && (