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

[#26] Add padding for img component #58

Conversation

itstrueitstrueitsrealitsreal
Copy link
Contributor

@itstrueitstrueitsrealitsreal itstrueitstrueitsrealitsreal commented Jul 20, 2024

Fixes #26

Description:

Modified main.css to give img components a padding of 20px for improved readability as mentioned in #26.

Screenshots:

Before:

Screenshot 2024-07-20 at 4 17 35 PM

After:

Screenshot 2024-07-20 at 4 17 39 PM

@damithc
Copy link
Contributor

damithc commented Jul 21, 2024

🤔 I'm not sure about this. The image being close to text indicate they belong together, and reduces the amount of scrolling too. I don't think it hinders the reader that much. Also, this issue appears only when there is text immediately above the image and is separated by a <br>. So, a universal increase in margin may have wider impact than the necessary.

@itstrueitstrueitsrealitsreal
Copy link
Contributor Author

Would it be preferable to leave it unchanged instead? Or are there any better alternatives?

@damithc
Copy link
Contributor

damithc commented Jul 21, 2024

Would it be preferable to leave it unchanged instead? Or are there any better alternatives?

Yes, for now, let's leave it as is. We can revisit it at a later time.

@damithc
Copy link
Contributor

damithc commented Jul 26, 2024

Closing this for now ...

@damithc damithc closed this Jul 26, 2024
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.

[AB3: Tracing Code] Increase margins for better readability
2 participants