diff --git a/client/coral-embed-stream/src/components/Comment.css b/client/coral-embed-stream/src/components/Comment.css index 6dc8eee80..e32b7333b 100644 --- a/client/coral-embed-stream/src/components/Comment.css +++ b/client/coral-embed-stream/src/components/Comment.css @@ -50,11 +50,6 @@ pointer-events: none; } -.bylineSecondary { - color: #696969; - font-size: 12px; -} - .editedMarker { font-style: italic; } diff --git a/client/coral-embed-stream/style/default.css b/client/coral-embed-stream/style/default.css index a285d1ff6..a20c94d1a 100644 --- a/client/coral-embed-stream/style/default.css +++ b/client/coral-embed-stream/style/default.css @@ -85,10 +85,6 @@ body { /* Info Box Styles */ -.hidden { - visibility: hidden; - display: none; -} .talk-plugin-infobox-info { top: 0; @@ -235,10 +231,6 @@ button.comment__action-button[disabled], color: #F00; } -.talk-plugin-pubdate-text { - display: inline-block; -} - /* Flag Styles */ .talk-plugin-flags-popup-form { @@ -367,4 +359,7 @@ button.comment__action-button[disabled], color: white; } - +.hidden { + visibility: hidden; + display: none; +} diff --git a/client/coral-framework/components/PubDate.css b/client/coral-framework/components/PubDate.css new file mode 100644 index 000000000..4ea0061c4 --- /dev/null +++ b/client/coral-framework/components/PubDate.css @@ -0,0 +1,6 @@ +.pubdate { + display: inline-block; + color: #696969; + font-size: 12px; +} + diff --git a/client/coral-framework/components/PubDate.js b/client/coral-framework/components/PubDate.js index 843909852..03f84a777 100644 --- a/client/coral-framework/components/PubDate.js +++ b/client/coral-framework/components/PubDate.js @@ -1,14 +1,17 @@ import React from 'react'; import PropTypes from 'prop-types'; import {timeago} from 'coral-framework/services/i18n'; +import cn from 'classnames'; +import styles from './PubDate.css'; -const name = 'talk-plugin-pubdate'; - -const PubDate = ({created_at}) =>