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

[FR-305] Fix: Embeds are not properly responsive #64

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

bibakroy
Copy link

No description provided.

@bibakroy bibakroy force-pushed the fix/youtube-embed branch from 9119eb5 to ee4dca5 Compare March 28, 2025 08:09
@bibakroy bibakroy changed the title [FR-305] Fix youtube video and thumbnail overflow issue in small screen [FR-305] Fix: Embeds are not properly responsive Mar 31, 2025
Copy link
Contributor

@JohnyTheCarrot JohnyTheCarrot left a comment

Choose a reason for hiding this comment

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

That pnpm lockfile change being massive is suspicious to me.
Are we sure this lockfile change is correct?

Comment on lines 151 to 157
// <Styles.Images nImages={images.length}>
// {images.map((image) => (
// <Styles.ImageGridImageContainer key={image.url}>
// <EmbeddedImage embedImage={image} withMargin />
// </Styles.ImageGridImageContainer>
// ))}
// </Styles.Images>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just remove it?

Copy link
Member

@mason-rogers mason-rogers Mar 31, 2025

Choose a reason for hiding this comment

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

I'd personally opt for making a const like MAX_IMAGES, then we can use images.slice(0, MAX_IMAGES)

since we may want to allow showing 4 images at some point

@bibakroy
Copy link
Author

That pnpm lockfile change being massive is suspicious to me. Are we sure this lockfile change is correct?

@JohnyTheCarrot This change is made automatically when I run pnpm i . This might happen due to different node version. Please let me know which node version are you using for this project, so that I can use the same to avoid any unnecessary changes on the lock file.

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

Successfully merging this pull request may close these issues.

4 participants