Remove styling that affects the slot..

This commit is contained in:
Chi Vinh Le
2017-09-21 01:24:59 +07:00
parent e7c78a2465
commit 5fa4b4d734
6 changed files with 42 additions and 42 deletions
@@ -50,11 +50,6 @@
pointer-events: none;
}
.bylineSecondary {
color: #696969;
font-size: 12px;
}
.editedMarker {
font-style: italic;
}
+4 -9
View File
@@ -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;
}
@@ -0,0 +1,6 @@
.pubdate {
display: inline-block;
color: #696969;
font-size: 12px;
}
+8 -5
View File
@@ -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}) => <div className={`${name}-text`}>
{timeago(created_at)}
</div>;
const PubDate = ({className, created_at}) => (
<div className={cn(className, styles.pubdate, 'talk-comment-pubdate')}>
{timeago(created_at)}
</div>
);
PubDate.propTypes = {
className: PropTypes.string,
created_at: PropTypes.string,
};
+23 -22
View File
@@ -49,27 +49,32 @@
li {
margin-bottom: 5px;
&:nth-child(1) {
color: #5394D7;
}
&:nth-child(2) {
color: #909090;
}
i {
margin-right: 5px;
font-size: 15px;
}
a:hover {
cursor: pointer;
}
}
}
.viewLink {
color: #5394D7;
&:hover {
cursor: pointer;
}
}
.iconView {
margin-right: 5px;
font-size: 15px;
vertical-align: middle;
padding-bottom: 1px;
}
.iconDate {
margin-right: 5px;
font-size: 15px;
color: #696969;
vertical-align: middle;
padding-bottom: 1px;
}
@custom-media --mobile-viewport (max-width: 480px);
@media (--mobile-viewport) {
@@ -92,7 +97,3 @@
color: inherit;
}
.iconView, .iconDate {
vertical-align: middle;
padding-bottom: 1px;
}
+1 -1
View File
@@ -54,7 +54,7 @@ class Comment extends React.Component {
<div className={styles.sidebar}>
<ul>
<li>
<a onClick={link(`${comment.asset.url}?commentId=${comment.id}`)}>
<a onClick={link(`${comment.asset.url}?commentId=${comment.id}`)} className={styles.viewLink}>
<Icon name="open_in_new" className={styles.iconView}/>{t('view_conversation')}
</a>
</li>