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

img render size issue #1263

Open
sungeunl opened this issue Feb 26, 2024 · 0 comments
Open

img render size issue #1263

sungeunl opened this issue Feb 26, 2024 · 0 comments

Comments

@sungeunl
Copy link

sungeunl commented Feb 26, 2024

<nuxt-img loading="lazy" class="absolute left-64 top-5 ml-5 hidden scale-65 md:block lg:left-120 lg:top-9 lg:ml-2 lg:scale-100" src="/img/icons/shape_bounding_box.svg" alt="" />

<img loading="lazy" class="absolute left-64 top-5 ml-5 hidden scale-65 md:block md:shrink-0 lg:left-120 lg:top-9 lg:ml-2 lg:scale-100" src="/img/icons/shape_bounding_box.svg" alt="" />

The two render sizes are different.

The img tag always appears correctly,
but nuxt-img does not appear properly when the viewport is smaller than the largest screen.

Why is it?

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

No branches or pull requests

1 participant