Skip to content

Conversation

@domlander
Copy link
Contributor

@domlander domlander commented Oct 27, 2025

What does this change?

Don't fix the podcast image width when the card is horizontal on desktop and the container is not scrollable small.

Simplifies the logic of fixed-size width media including podcasts.

Why?

So that the waveform sticks to the bottom of the card.

Screenshots

Before After
before after

@domlander domlander self-assigned this Oct 27, 2025
@domlander domlander added run_chromatic Runs chromatic when label is applied fronts + curation labels Oct 27, 2025
@github-actions
Copy link

github-actions bot commented Oct 27, 2025

@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 27, 2025
@github-actions
Copy link

github-actions bot commented Oct 27, 2025

@domlander domlander force-pushed the doml/podcast-sizing-flexgen branch from 8362d5a to 24a3b6c Compare October 27, 2025 12:26
@domlander domlander added run_chromatic Runs chromatic when label is applied and removed run_chromatic Runs chromatic when label is applied labels Oct 27, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 27, 2025
@domlander domlander force-pushed the doml/podcast-sizing-flexgen branch from 24a3b6c to f046d20 Compare October 27, 2025 12:45
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 27, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 27, 2025
@domlander domlander force-pushed the doml/podcast-sizing-flexgen branch from f046d20 to 70984f5 Compare October 28, 2025 09:13
@domlander domlander changed the title [WIP] Extend podcast image size in Flexible General half-width slot Extend podcast image size in Flexible General half-width slot Oct 28, 2025
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@domlander domlander force-pushed the doml/podcast-sizing-flexgen branch from 70984f5 to 23b9708 Compare October 28, 2025 09:22
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@domlander domlander marked this pull request as ready for review October 28, 2025 09:22
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@domlander domlander force-pushed the doml/podcast-sizing-flexgen branch from 09c2f0a to 1faf09e Compare October 28, 2025 10:26
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 28, 2025
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 29, 2025
@domlander domlander force-pushed the doml/podcast-sizing-flexgen branch from be81d53 to dd2804a Compare October 29, 2025 10:20
@domlander domlander added run_chromatic Runs chromatic when label is applied and removed run_chromatic Runs chromatic when label is applied labels Oct 29, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 29, 2025
@domlander domlander force-pushed the doml/podcast-sizing-flexgen branch from dd2804a to 0c7d621 Compare October 29, 2025 10:32
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 29, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 29, 2025
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 29, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 29, 2025
@domlander domlander requested a review from abeddow91 October 29, 2025 11:44
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Oct 29, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Oct 29, 2025
Copy link
Contributor

@abeddow91 abeddow91 left a comment

Choose a reason for hiding this comment

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

I like this solution! thanks for detangling the card sizing, its definitely a confusing

Comment on lines -179 to -180
${between.tablet.and.desktop} {
${fixMediaWidthStyles(mediaFixedSize[tablet])}
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like we no longer account for a size change between tablet and desktop. Is this intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

isBetaContainer: boolean,
isSmallCard: boolean,
) => {
if (!isBetaContainer) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, this will make it easier to rip out once we fully discontinue old containers

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 was my thinking. It should be easy to delete this old code once the time comes.

@domlander domlander merged commit ad24e67 into main Oct 29, 2025
31 checks passed
@domlander domlander deleted the doml/podcast-sizing-flexgen branch October 29, 2025 15:18
@gu-prout
Copy link

gu-prout bot commented Oct 29, 2025

Seen on PROD (merged by @domlander 8 minutes and 55 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.

3 participants