From 9cfa5b6a0f881f32bfea16c9ae87f81f0cfde443 Mon Sep 17 00:00:00 2001 From: okbel Date: Wed, 21 Feb 2018 11:15:23 -0300 Subject: [PATCH] Removing old styles from default css --- .../tabs/stream/components/CommentForm.css | 15 ++++++ .../src/tabs/stream/components/CommentForm.js | 3 +- .../src/tabs/stream/components/DraftArea.css | 9 ++++ .../src/tabs/stream/components/DraftArea.js | 13 ++--- .../stream/components/DraftAreaContent.css | 11 +++++ ...TextAreaDefault.js => DraftAreaContent.js} | 12 +++-- .../src/tabs/stream/containers/CommentBox.js | 2 +- client/coral-embed-stream/style/default.css | 47 ------------------- .../client/components/OffTopicCheckbox.css | 1 + 9 files changed, 53 insertions(+), 60 deletions(-) create mode 100644 client/coral-embed-stream/src/tabs/stream/components/DraftAreaContent.css rename client/coral-embed-stream/src/tabs/stream/components/{TextAreaDefault.js => DraftAreaContent.js} (65%) 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' && (