WalkingPal/walking-pal-web

bug: Correction in the size of cards in the company page.

Closed this issue · 6 comments

Description

There is a card which is smaller in size in comparison to the other cards in the company page.

Screenshot (80)

I'd like to take on this. Please assign.

Hey @Asmi-1 I would like to work on this issue. Please assign me

@Asmi-1 actually all the cards are somewhat not equal in size. They are simple images. Simple CSS properties will fix these. give them height: 100%, aspect-ratio:1, object-fit: cover I think this will be enough

@Asmi-1 actually all the cards are somewhat not equal in size. They are simple images. Simple CSS properties will fix these. give them height: 100%, aspect-ratio:1, object-fit: cover I think this will be enough

Yes, I have examined the code and also thought of doing same as you suggested. Thank you for your valuable solution.

@Asmi-1 actually all the cards are somewhat not equal in size. They are simple images. Simple CSS properties will fix these. give them height: 100%, aspect-ratio:1, object-fit: cover I think this will be enough

Yes, I have examined the code and also thought of doing same as you suggested. Thank you for your valuable solution.

I have fixed the bug by simply changing gallery0's size as that was the only one that has a different size than the others. please check: this PR

@Asmi-1 actually all the cards are somewhat not equal in size. They are simple images. Simple CSS properties will fix these. give them height: 100%, aspect-ratio:1, object-fit: cover I think this will be enough

Yes, I have examined the code and also thought of doing same as you suggested. Thank you for your valuable solution.

I have fixed the bug by simply changing gallery0's size as that was the only one that has a different size than the others. please check: this PR

@Eddayavuz I think you have chosen the longer way to fix this, instead we can fix it simply by adding just two lines of height and width properties in the code.