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

Remove 'px' from width and height fields #2996

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Conversation

tinloaf
Copy link
Contributor

@tinloaf tinloaf commented Oct 5, 2023

Purpose

According to the HTML standard, the width and height attributes of an img tag must specify the width/height in pixels without a unit. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img

This was wrong in these two places.

@netlify
Copy link

netlify bot commented Oct 5, 2023

Deploy Preview for hugo-portfolio-theme canceled.

Name Link
🔨 Latest commit 3656917
🔍 Latest deploy log https://app.netlify.com/sites/hugo-portfolio-theme/deploys/651eef0d31f6bb000839429e

@netlify
Copy link

netlify bot commented Oct 5, 2023

Deploy Preview for markdown-slides canceled.

Name Link
🔨 Latest commit 3656917
🔍 Latest deploy log https://app.netlify.com/sites/markdown-slides/deploys/651eef0d355fd5000895242e

@netlify
Copy link

netlify bot commented Oct 5, 2023

Deploy Preview for academic-demo canceled.

Name Link
🔨 Latest commit 3656917
🔍 Latest deploy log https://app.netlify.com/sites/academic-demo/deploys/651eef0dbd266a000833a204

@gcushen gcushen merged commit f6330d5 into HugoBlox:main Oct 5, 2023
15 checks passed
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.

2 participants