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

Inserting a width for the image result #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SleemBee444
Copy link

I set the width for the image results to 60%

I set the width for the image results to 60%
@SleemBee444
Copy link
Author

@BolajiAyodeji , please can you review my PR

Copy link
Owner

@BolajiAyodeji BolajiAyodeji left a comment

Choose a reason for hiding this comment

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

Hi @SleemBee444, thanks for this PR. I want to suggest some changes to make this fix work.

To fix this audit issue, you need to specify both the width and height of the image element. This ensures that the correct spacing is used for the image on the browser. For example:

<img src="dimage.jpg" width="640" height="360" alt="A baby sitting">

You can read more on this issue in this or this blog post.

@BolajiAyodeji
Copy link
Owner

Also, don't forget to test the UI and be sure everything looks good visually. Great work!

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