-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: master
Are you sure you want to change the base?
Conversation
9119eb5
to
ee4dca5
Compare
…e layout on small screens
There was a problem hiding this 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?
src/Content/Embed/index.tsx
Outdated
// <Styles.Images nImages={images.length}> | ||
// {images.map((image) => ( | ||
// <Styles.ImageGridImageContainer key={image.url}> | ||
// <EmbeddedImage embedImage={image} withMargin /> | ||
// </Styles.ImageGridImageContainer> | ||
// ))} | ||
// </Styles.Images> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
@JohnyTheCarrot This change is made automatically when I run |
…e layout on small screens
…derer into fix/youtube-embed
No description provided.