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

πŸ’„ LLM - Landing Pages margin bottom #8674

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

cgrellard-ledger
Copy link
Contributor

@cgrellard-ledger cgrellard-ledger commented Dec 12, 2024

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

Add a margin bottom to the landing pages when there is no sticky cta

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@cgrellard-ledger cgrellard-ledger requested a review from a team as a code owner December 12, 2024 08:54
Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 8:55am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 8:55am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 8:55am
web-tools ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 8:55am

@live-github-bot live-github-bot bot added the mobile Has changes in LLM label Dec 12, 2024
Comment on lines +46 to +52
ListFooterComponent={
hasStickyCta ? (
<Flex height={116} />
) : bottomSpacing ? (
<Flex height={bottomSpacing} />
) : null
}
Copy link
Contributor

@mcayuelas-ledger mcayuelas-ledger Dec 12, 2024

Choose a reason for hiding this comment

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

we should add a margin anyway if no sticky no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's what it does, if there is no sticky cta and we passed a bottomSpacing parameter, we'll have a spacing in the bottom

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But we can choose to not send a bottomSpacing parameter to not have any spacing in the bottom of the ContentCardsLocation component

@cgrellard-ledger cgrellard-ledger merged commit 529418d into develop Dec 12, 2024
41 of 44 checks passed
@cgrellard-ledger cgrellard-ledger deleted the bugfix/landing-page-margin-bottom branch December 12, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Has changes in LLM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants