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)
Sat, Jun 29, 7:57 AM
Unknown Object (File)
Thu, Jun 27, 10:35 PM
Unknown Object (File)
Fri, Jun 7, 5:22 AM
Unknown Object (File)
Thu, Jun 6, 11:08 PM
Unknown Object (File)
May 18 2024, 2:02 AM
Unknown Object (File)
May 14 2024, 4:34 PM
Unknown Object (File)
May 10 2024, 4:44 PM
Unknown Object (File)
Apr 14 2024, 5:55 PM
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