Moderation Actions

This commit is contained in:
Belen Curcio
2017-09-07 08:05:39 -03:00
parent 12be487783
commit 7b59323b26
29 changed files with 635 additions and 4 deletions
@@ -31,15 +31,14 @@ export default class Tag extends React.Component {
render() {
const {tooltip} = this.state;
return(
<div className={styles.noSelect} onMouseEnter={this.showTooltip}
<span className={styles.noSelect} onMouseEnter={this.showTooltip}
onMouseLeave={this.hideTooltip} onTouchStart={this.showTooltip}
onTouchEnd={this.hideTooltip}>
<span
className={cn(styles.tag, styles.noSelect, {[styles.on]: tooltip})}>
<span className={cn(styles.tag, styles.noSelect, {[styles.on]: tooltip})}>
{t('talk-plugin-featured-comments.featured')}
</span>
{tooltip && <Tooltip className={styles.tooltip} />}
</div>
</span>
);
}
}