wordpress-activitypub
wordpress-activitypub copied to clipboard
Reactions: Fix avatar display bugs
Fixes margins between avatars and details button, when there are hidden avatars:
| Before | After |
|---|---|
Fixes hidden avatars when there are fewer Likes than reposts:
| Before | After |
|---|---|
Proposed changes:
- Adjust styles to maintain consistent margin between avatars and detail button.
- Add comment type context to decide how many avatars to show.
Testing instructions:
- On a test post with a different amount of Likes and Reposts, make sure all avatars are displayed as expected.
- Make sure the distance between avatars and button is consistent.
Changelog entry
- [x] Automatically create a changelog entry from the details below.
Changelog Entry Details
Significance
- [x] Patch
- [ ] Minor
- [ ] Major
Type
- [ ] Added - for new features
- [ ] Changed - for changes in existing functionality
- [ ] Deprecated - for soon-to-be removed features
- [ ] Removed - for now removed features
- [x] Fixed - for any bug fixes
- [ ] Security - in case of vulnerabilities
Message
The amount of avatars shown in the Reactions block no longer depends on the amount of likes, but is comment type agnostic.