Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images in feature layout #3

Open
CaroleSinou opened this issue Aug 30, 2023 · 1 comment
Open

Images in feature layout #3

CaroleSinou opened this issue Aug 30, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@CaroleSinou
Copy link
Collaborator

I have a page listing all IPTs in Canada, for which I have used the feature layout.
All cards are accompanied by a logo of the institution, but I am unable to see the entire image, even after resizing the image to the specified size here for the feature block.
If the image could be responsive, it would be even better.

After trying so many things without real achievement, I need help :)

@CaroleSinou CaroleSinou added the enhancement New feature or request label Aug 30, 2023
@CaroleSinou CaroleSinou added question Further information is requested and removed enhancement New feature or request labels Aug 30, 2023
@MortenHofft
Copy link
Member

MortenHofft commented Aug 30, 2023

You can change the style of that. I've tried to do so in

7f84e69
was an attempt to add special klass to that block

4fa5fa6
add styling for that block, saying that the images should be contained in the area and not cover the area. As long as you keep the backgrounds white or better transparent, then this should work fine. might make sense to add some padding as well padding: 24px;

UPDATE: but I see that my change didn't work. It is getting late here, I must have mistyped somewhere. I'll look again tomorrow.

UPDATE 2: Turns out that the class wasn't added. i've fixed that now and you should be able to see the full images on the cards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants