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

feat: Update image components to use dynamic width and height properties #122

Merged
merged 1 commit into from
May 5, 2024

Conversation

nexmoe
Copy link
Owner

@nexmoe nexmoe commented May 5, 2024

Set the width and height of image components based on module.imageWidth and module.imageHeight props if available, else use defaults. Update sizes attribute to ensure responsive images are displayed properly.

Set the width and height of image components based on module.imageWidth
and module.imageHeight props if available, else use defaults. Update sizes
attribute to ensure responsive images are displayed properly.
Copy link

vercel bot commented May 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
roam-space ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2024 5:06am

@nexmoe nexmoe merged commit 8330f16 into main May 5, 2024
3 checks passed
@nexmoe nexmoe deleted the update-image-sizes-branch branch May 5, 2024 05:06
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.

1 participant