layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

Fix Image Aspect Ratio & Font Scaling on Mobile (kanvas/design)

Open M-DEV-1 opened this issue 7 months ago β€’ 12 comments

Description

In mobile view, the image on the kanvas/design page does not maintain proper aspect ratio, and the associated text font is too large.

Image

Expected Behavior

Screenshots

Environment:

  • Host OS:
  • Browser:

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

M-DEV-1 avatar May 23 '25 13:05 M-DEV-1

can i work on this issue ?

Tharanishwaran avatar May 23 '25 17:05 Tharanishwaran

Hi @Tharanishwaran, I'm sorry but there are some other improvements to do as well in this PR on the content for these cards. I really appreciate your willingness to help!!

M-DEV-1 avatar May 23 '25 18:05 M-DEV-1

@Tharanishwaran, would you like to work on this issue?. If yes, please comment under it, and I will assign it to you.

M-DEV-1 avatar May 23 '25 18:05 M-DEV-1

@M-DEV-1,Yes, I would like to work on this issue. Thank you!

Tharanishwaran avatar May 24 '25 15:05 Tharanishwaran

Hey @M-DEV-1 what's the progress here? Can i help?

KrishnaShuk avatar Jun 13 '25 08:06 KrishnaShuk

@KrishnaShuk, absolutely, you can help. Here, we are to fix the aspect ratio and font scaling for these cards on this page

The cards are fine on Desktop View, but it can use some love for Mobile View. Also, the content for these cards can be improved.

M-DEV-1 avatar Jun 13 '25 13:06 M-DEV-1

Would you like to give it a try?

M-DEV-1 avatar Jun 13 '25 13:06 M-DEV-1

Yes please. Assign me.

KrishnaShuk avatar Jun 14 '25 05:06 KrishnaShuk

Hey @M-DEV-1, should the image be enlarged in the cards? Exactly what we have to attain here?

KrishnaShuk avatar Jun 17 '25 19:06 KrishnaShuk

@KrishnaShuk when you go to the page on mobile, we'd like to be able to see both clearly, the text and the image.

Right now, the text is clearly visible and large but the image/gif is smaller, and not very clear. We don't want to break the cards, but we'd like to adjust it.

that's mostly it.

M-DEV-1 avatar Jun 17 '25 19:06 M-DEV-1

Go through all the cards once, you'll get the idea.

M-DEV-1 avatar Jun 17 '25 19:06 M-DEV-1

So we have to resize the image/gif to make it clearly visible.

KrishnaShuk avatar Jun 18 '25 13:06 KrishnaShuk

Hi @KrishnaShuk @M-DEV-1 ,

Could I contribute to this?

HIMU-2001 avatar Jun 25 '25 14:06 HIMU-2001

@M-DEV-1, Hi is the issue still up? Can i help with it?

krVatsal avatar Jul 14 '25 15:07 krVatsal

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 29 '25 04:07 stale[bot]

@M-DEV-1 Is this issue open? If yes, then i would like to contribute in this.

Lakshay-Pareek avatar Aug 21 '25 14:08 Lakshay-Pareek

Thanks @Lakshay-Pareek Here you go!!

vr-varad avatar Aug 22 '25 10:08 vr-varad

@vr-varad Can you explain a bit what exactly i have to do. Reading the above conversation i guess i have to adjust this gif?

Image

Lakshay-Pareek avatar Aug 25 '25 07:08 Lakshay-Pareek

@vr-varad So what i have to do is make the tutorial window big, is that it?

Lakshay-Pareek avatar Aug 25 '25 07:08 Lakshay-Pareek

ya @Lakshay-Pareek compatible with the text in mobile view.

vr-varad avatar Aug 25 '25 08:08 vr-varad

@vr-varad How's this??

Image

Lakshay-Pareek avatar Aug 27 '25 14:08 Lakshay-Pareek

Make a pr @Lakshay-Pareek. That would be nice and easy to review.

vr-varad avatar Aug 27 '25 14:08 vr-varad

@vr-varad I believe the issue has already been resolved. Everything looks good to me. Please check it on mobile view and close it accordingly.

Rajesh-Nagarajan-11 avatar Aug 27 '25 15:08 Rajesh-Nagarajan-11