Skip to content

Conversation

cemms1
Copy link
Contributor

@cemms1 cemms1 commented Oct 2, 2025

What does this change?

When the labs redesign switch is on:

  • Uses the new SponsoredContentLabel component for the branding
  • Sets the height of the SponsoredContentLabel logo to 60px to ensure alignment across cards in case one logo is smaller than others
  • Uses vertical alignment of SponsoredContentLabel in the Card component for tablet viewport size only and horizontal in all other cases. Duplicates the component and uses CSS to control the behaviour to avoid unnecessary JS usage
  • When the card is not onwards content:
    • Moves branding outside of the standard footer components for the labs redesign

Why?

Part of the Labs redesign work
The redesigned labs cards have the branding right at the bottom of the card on fronts

Screenshots

Before After
before after
before2 after2
before3 after3

@cemms1 cemms1 force-pushed the cemms1/move-card-branding-for-labs-redesign branch 2 times, most recently from f1d8f24 to ce963db Compare October 2, 2025 16:50
Copy link

github-actions bot commented Oct 2, 2025

Copy link

github-actions bot commented Oct 2, 2025

@cemms1 cemms1 force-pushed the cemms1/move-card-branding-for-labs-redesign branch from ce963db to 3cf079f Compare October 3, 2025 09:34
@cemms1 cemms1 force-pushed the cemms1/move-card-branding-for-labs-redesign branch from 3cf079f to 3bb78f7 Compare October 3, 2025 10:39
@cemms1 cemms1 added Commercial 💰 feature Core4: feature labels Oct 3, 2025
@cemms1 cemms1 requested a review from a team October 3, 2025 10:42
@cemms1 cemms1 marked this pull request as ready for review October 3, 2025 10:42
@cemms1 cemms1 added the run_chromatic Runs chromatic when label is applied label Oct 3, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 3, 2025
@cemms1 cemms1 added the run_chromatic Runs chromatic when label is applied label Oct 3, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 3, 2025
@cemms1 cemms1 merged commit 45689e1 into main Oct 6, 2025
31 checks passed
@cemms1 cemms1 deleted the cemms1/move-card-branding-for-labs-redesign branch October 6, 2025 07:51
@gu-prout
Copy link

gu-prout bot commented Oct 6, 2025

Seen on PROD (merged by @cemms1 7 minutes and 44 seconds ago) Please check your changes!

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.

2 participants