Problem:
If user clicks on avatar first (which is round shaped), then on some picture with alt text in profile gallery, previously added class doesn't get removed, image stays with round borders. Also alternative text gets displayed on the bottom, not on top as planned.
Better shown on gif:
I fixed that by removing refined-twitter_image-alt_profile-container classname from container
Problem: If user clicks on avatar first (which is round shaped), then on some picture with alt text in profile gallery, previously added class doesn't get removed, image stays with round borders. Also alternative text gets displayed on the bottom, not on top as planned.
Better shown on gif:
I fixed that by removing
refined-twitter_image-alt_profile-container
classname from container