mirror of
https://github.com/wassname/talk.git
synced 2026-07-16 11:22:16 +08:00
add class name to featured tag
This commit is contained in:
@@ -34,7 +34,7 @@ export default class Tag extends React.Component {
|
||||
<span className={cn(styles.tagContainer, 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}, 'featuredTagLabel')}>
|
||||
{t('talk-plugin-featured-comments.featured')}
|
||||
</span>
|
||||
{tooltip && <Tooltip className={styles.tooltip} />}
|
||||
|
||||
Reference in New Issue
Block a user