the-turk / flarum-diff

View post edit histories in your Flarum forum.
https://discuss.flarum.org/d/22779-diff-for-flarum
MIT License
8 stars 6 forks source link

Tooltip color for deleted revisions is supposed to be red #9

Closed the-turk closed 4 years ago

the-turk commented 4 years ago

Bug Report

Current Behavior If you hover over any deleted revision in revision list, you'll see black colored tooltip instead of red.

Steps to Reproduce

  1. Edit a post
  2. Delete any revision's content
  3. Hover over any deleted revision in revision list
  4. Tooltip has black background

Expected Behavior Tooltip's background color for deleted revisions should be red instead of black.

Screenshots

Environment

Possible Solution Replace this line: https://github.com/the-turk/flarum-diff/blob/0230881c15003a499466a28ad360f605610217a1/js/src/forum/components/DiffList.js#L154 with:

tooltipClass + ' deletedDiffTooltip'