[UI] Kanvas Collaborate feature images are squeezed and cropped on mobile viewports
Description
On https://layer5.io/cloud-native-management/kanvas/collaborate, all four feature showcase images (Integrated Comments, Shared Component Library, Live Activity Log, and Undo & Revert Changes) are squeezed horizontally and cropped on both sides on mobile viewports (<= 767px).
Root cause in CollaborationFeatureTeam:
.hero-imageremains atflex: 0 0 50%; max-width: 50%;on mobile (max-width: 767px) instead of expanding to100%.imgretainsheight: 300px; object-fit: cover;on mobile, cropping the left and right sides of the UI screenshots.
Expected Behavior
- On mobile viewports (
<= 767px),.hero-imageshould span100%width andimgshould usewidth: 100%; height: auto; object-fit: contain;so the entire feature UI screenshot is clearly visible without horizontal cropping.
Screenshots
Environment:
- Host OS: Windows 11
- Browser: Google Chrome (Mobile Responsive View)
I would like to work on this issue and submit a PR with the fix. Could you please assign it to me?
hey @winkletinkle @ritzorama 👋, I'll would like to work on this issue could you please assign this issue to me
hey @winkletinkle @ritzorama 👋, I'll would like to work on this issue could you please assign this issue to me
Hey @dipansumishra9797-sudo since the author has shown interest in picking up this issue, assigning it to him 🫠 , I'm sure you'll find other issues to work upon 🙌