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

added padding in examples header #632

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mohankumarhr
Copy link

Fixes #573
A padding is added for the headings of the Example section to give gap between heading and images
Screenshot (23)

@davepagurek
Copy link
Collaborator

Hi! This will affect all h2s, probably breaking the layout in tutorials that include it. The tutorials page has a similar look and addresses it by adding the following tailwind class to their h2s:

<h2 id={slug} class="mb-gutter-md mt-0">

Maybe we can take the same approach here instead?

@mohankumarhr
Copy link
Author

mohankumarhr commented Nov 19, 2024

Hi! This will affect all h2s, probably breaking the layout in tutorials that include it. The tutorials page has a similar look and addresses it by adding the following tailwind class to their h2s:

<h2 id={slug} class="mb-gutter-md mt-0">

Maybe we can take the same approach here instead?

Thank you for the suggestion @davepagurek. I have removed the previous update and added the Tailwind class

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.

Add Adequate Spacing Between Text and Images for Improved Visibility in Example Page
2 participants