[Fix] Title Heading Misalignment on Larger Screens #225
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes
Description
This pull request resolves the misalignment issue of the "Explore by content" heading on larger screens. The heading was not centrally aligned and did not appear directly above the associated content, causing an inconsistent visual layout. The fix adjusts the HTML to ensure the heading is centered and aligned properly, creating a more consistent layout across all screen sizes.
Technical details
The alignment issue was resolved by restructuring the HTML to use centered columns
<div class="columns is-centered is-paddingless"> <div class="column is-half has-text-centered"> <h2 class="title is-3">Explore by content</h2> </div> </div>
Tests
Open the affected page on a larger screen (e.g., 1920x1080 resolution).
Verify that the "Explore by content" heading is now centrally aligned and positioned directly above the related content (case tags and scholarship tags).
Confirm that the padding below the heading creates the intended visual separation, improving readability.
Screenshots
Before
After
Checklist
Update index.md
).main
ormaster
).visible errors.
Developer Certificate of Origin
For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."
Developer Certificate of Origin