+
diff --git a/client/coral-embed-stream/src/tabs/stream/components/DraftAreaContent.css b/client/coral-embed-stream/src/tabs/stream/components/DraftAreaContent.css
new file mode 100644
index 000000000..9de435aea
--- /dev/null
+++ b/client/coral-embed-stream/src/tabs/stream/components/DraftAreaContent.css
@@ -0,0 +1,11 @@
+.content {
+ color: #262626;
+ flex: 1;
+ padding: 1em;
+ min-height: 100px;
+ margin-top: 10px;
+ font-size: 16px;
+ border: 1px solid #9E9E9E;
+ width: 100%;
+ box-sizing: border-box;
+}
\ No newline at end of file
diff --git a/client/coral-embed-stream/src/tabs/stream/components/TextAreaDefault.js b/client/coral-embed-stream/src/tabs/stream/components/DraftAreaContent.js
similarity index 65%
rename from client/coral-embed-stream/src/tabs/stream/components/TextAreaDefault.js
rename to client/coral-embed-stream/src/tabs/stream/components/DraftAreaContent.js
index 0893e6d95..e23f7b9eb 100644
--- a/client/coral-embed-stream/src/tabs/stream/components/TextAreaDefault.js
+++ b/client/coral-embed-stream/src/tabs/stream/components/DraftAreaContent.js
@@ -1,7 +1,9 @@
import React from 'react';
import PropTypes from 'prop-types';
+import cn from 'classnames';
+import styles from './DraftAreaContent.css';
-const TextAreaComponent = ({
+const DraftAreaContent = ({
value,
placeholder,
id,
@@ -10,7 +12,7 @@ const TextAreaComponent = ({
disabled,
}) => (
);
-TextAreaComponent.defaultProps = {
+DraftAreaContent.defaultProps = {
rows: 3,
};
-TextAreaComponent.propTypes = {
+DraftAreaContent.propTypes = {
id: PropTypes.string,
value: PropTypes.string,
placeholder: PropTypes.string,
@@ -33,4 +35,4 @@ TextAreaComponent.propTypes = {
rows: PropTypes.number,
};
-export default TextAreaComponent;
+export default DraftAreaContent;
diff --git a/client/coral-embed-stream/src/tabs/stream/containers/CommentBox.js b/client/coral-embed-stream/src/tabs/stream/containers/CommentBox.js
index a64356578..be2e7b337 100644
--- a/client/coral-embed-stream/src/tabs/stream/containers/CommentBox.js
+++ b/client/coral-embed-stream/src/tabs/stream/containers/CommentBox.js
@@ -11,7 +11,7 @@ import { CommentForm } from '../components/CommentForm';
import { notifyForNewCommentStatus } from '../helpers';
// TODO: (kiwi) Need to adapt CSS classes post refactor to match the rest.
-export const name = 'talk-plugin-commentbox';
+export const name = 'talk-commentbox';
/**
* Container for posting a new Comment
diff --git a/client/coral-embed-stream/style/default.css b/client/coral-embed-stream/style/default.css
index d6e223724..98416d68d 100644
--- a/client/coral-embed-stream/style/default.css
+++ b/client/coral-embed-stream/style/default.css
@@ -112,53 +112,6 @@ body {
position: relative;
}
-/* Comment Box Styles */
-.talk-plugin-commentbox-container {
- display: flex;
- width: 100%;
-}
-
-.talk-plugin-commentbox-textarea {
- color: #262626;
- flex: 1;
- padding: 1em;
- min-height: 100px;
- margin-top: 10px;
- font-size: 16px;
- border: 1px solid #9E9E9E;
-}
-
-.talk-plugin-commentbox-button-container {
- display: flex;
- justify-content: flex-end;
- margin-top: 10px;
-}
-
-.talk-plugin-commentbox-button {
- float: right;
- margin-top: 10px;
- padding: 5px 10px;
- background: rgb(105, 105, 105);
- color: #FFF;
- border: none;
- border-radius: 2px;
-}
-
-.talk-plugin-commentbox-username {
- width: 50%;
- padding-left: 5px;
- margin-bottom: 5px;
-}
-
-.talk-plugin-commentbox-char-count {
- color: #ccc;
- text-align: right;
-}
-
-.talk-plugin-commentbox-char-max {
- color: #d50000;
-}
-
/* Comment styles */
.comment {
margin-bottom: 10px;
diff --git a/plugins/talk-plugin-offtopic/client/components/OffTopicCheckbox.css b/plugins/talk-plugin-offtopic/client/components/OffTopicCheckbox.css
index 1a6bda2a6..17e8b4c30 100644
--- a/plugins/talk-plugin-offtopic/client/components/OffTopicCheckbox.css
+++ b/plugins/talk-plugin-offtopic/client/components/OffTopicCheckbox.css
@@ -1,5 +1,6 @@
.offTopic {
height: 100%;
+ margin-top: 10px;
}
.offTopicLabel {