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

Fix height of images in landing hero component #4408

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

spencerldixon
Copy link
Collaborator

Trello card

https://trello.com/c/l5tDsv5z/6812-change-landingherocomponent-to-fix-page-load-issues-with-images?filter=member:spencerldixon

Context

We identified an issue with page loading when pages contain a header with images (see https://trello.com/c/dhYNjDNm )

We want to amend the LandingHeroComponent to reserve the amount of space we want the image to be rendered at (regardless of the actual size of the image)

Changes proposed in this pull request

  • Adds css to set auto height of image

Guidance to review

Copy link

github-actions bot commented Dec 5, 2024

@github-actions github-actions bot added the Review label Dec 5, 2024
Copy link
Contributor

@gemmadallmandfe gemmadallmandfe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me from a front end perspective

@jenhadfield-dfe Are you happy with this?

@spencerldixon Can we get this merged today (after a tech review)?

@jenhadfield-dfe jenhadfield-dfe self-requested a review December 9, 2024 09:10
@jenhadfield-dfe
Copy link
Contributor

Looks good to me from a front end perspective

@jenhadfield-dfe Are you happy with this?

@spencerldixon Can we get this merged today (after a tech review)?

looks good to me!

Copy link
Contributor

@martyn-w martyn-w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@spencerldixon spencerldixon merged commit e9dca08 into master Dec 9, 2024
28 checks passed
@spencerldixon spencerldixon deleted the fix/landing_hero_image_layout_shift branch December 9, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants