Page MenuHomePhabricator

[web] fix image avatar image being stretched
ClosedPublic

Authored by ginsu on Apr 26 2023, 4:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 5, 9:03 PM
Unknown Object (File)
Sun, Jan 5, 9:03 PM
Unknown Object (File)
Sun, Jan 5, 9:03 PM
Unknown Object (File)
Sun, Jan 5, 9:03 PM
Unknown Object (File)
Sun, Jan 5, 8:56 PM
Unknown Object (File)
Nov 25 2024, 8:43 PM
Unknown Object (File)
Nov 12 2024, 11:00 PM
Unknown Object (File)
Oct 27 2024, 12:05 AM
Subscribers

Details

Summary

As I was working on enabling avatars on web, I noticed that the image avatars were slightly stretched. This diff fixes this issue

Test Plan

Please see the screenshots below to see the changes I made

Before:

Screenshot 2023-04-26 at 7.20.34 PM.png (236×894 px, 39 KB)

After:

Screenshot 2023-04-26 at 7.20.43 PM.png (232×918 px, 43 KB)

For reference this is what image avatars look like on native which now matches the after photo:

Screenshot 2023-04-26 at 7.21.05 PM.png (1×1 px, 524 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Apr 26 2023, 4:48 PM
This revision is now accepted and ready to land.Apr 27 2023, 10:15 AM