Merge pull request #2344 from paulkaplan/fix-comment-actions

Show comment actions on hover and fix report translation
This commit is contained in:
Paul Kaplan 2018-11-26 10:15:16 -05:00 committed by GitHub
commit d31cbe58e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -158,7 +158,7 @@ class Comment extends React.Component {
className="comment-report"
onClick={this.handleReport}
>
<FormattedMessage id="comments.report" />
<FormattedMessage id="general.report" />
</span>
)}
</React.Fragment>

View file

@ -289,3 +289,7 @@
margin-right: -50%;
}
}
/* Hide the action list buttons (delete/report/restore) until hover over */
.comment .action-list { opacity: 0; }
.comment:hover .action-list { opacity: 1; }