Profile pictures are not resized correctly when pulled from the database causing a slight distortion of the captain management interface. When the window sizes change every icon warps according to their initial size.
🪳STEPS TO REPRODUCE
Step 1: Log in as a captain
Step 2: Define an oversized picture for your avatar
Step 3: Log in as a customer to whom this captain's profile is attached
Step 4: Observe the avatar picture in the "Captains" page
🪜STEPS FOR A FIX
[x] Step 1: Change style to cover and fix the height and width of the logo/profile image
✅ACCEPTANCE CRITERIA
✅ Any kind of picture given as a user avatar must allow only for specific formats and sizes of files as well as modify them to fit its uses within the interface.
📝NOTES
Done in yaki_ui PR 94 : https://github.com/XPEHO/yaki_ui/pull/94
🏁PREREQUISITES
📜CONTEXT (User Story)
Profile pictures are not resized correctly when pulled from the database causing a slight distortion of the captain management interface. When the window sizes change every icon warps according to their initial size.
🪳STEPS TO REPRODUCE
🪜STEPS FOR A FIX
✅ACCEPTANCE CRITERIA
🔍AFFECTED COMPONENT(S) (Scope)
⛓️LINK TO OTHER ISSUES
🪟SCREEN SHOTS & MOCKUPS