Jaxel
Well-known member
- Affected version
- 2.1
The default reaction size is 32px. The reaction sprite cache automatically creates a "small" stylesheet that is based on half the size of the sprite. So if the sprite was 32px, the small version becomes 16px. 16px is perfect for basic styling.
However, on my forums, I have been replacing the reaction sprites with custom 64px versions. This way they show up bigger on the like modal popup. Unfortunately, this means the small version becomes 32px instead. This of course, is far too big for styling.
This does not affect the Reactions Bar, because the reactions bar is wrapped in a container with a max width, which the the sprite conforms to. However, the Action Bar is not wrapped in the same type of container... so the sprite doesn't conform. I think either the small sprites should be defaulted to 16px, or the action bar should be wrapped in a max-width container like the reactions bar.
Example in the screenshot:
You can see in the screenshot that the "Haha" reaction in the first post looks fine. But the "Dislike" reaction in the second post shifts the action bar.
However, on my forums, I have been replacing the reaction sprites with custom 64px versions. This way they show up bigger on the like modal popup. Unfortunately, this means the small version becomes 32px instead. This of course, is far too big for styling.
This does not affect the Reactions Bar, because the reactions bar is wrapped in a container with a max width, which the the sprite conforms to. However, the Action Bar is not wrapped in the same type of container... so the sprite doesn't conform. I think either the small sprites should be defaulted to 16px, or the action bar should be wrapped in a max-width container like the reactions bar.
Example in the screenshot:
You can see in the screenshot that the "Haha" reaction in the first post looks fine. But the "Dislike" reaction in the second post shifts the action bar.