Skip to content

fix: restore right alignment of Learn more links on docs section pages - #993

Merged
AidanDelaney merged 2 commits into
buildpacks:mainfrom
Pranav-IIITM:fix/learn-more-link-alignment
Oct 26, 2026
Merged

AidanDelaney merged 2 commits into
buildpacks:mainfrom
Pranav-IIITM:fix/learn-more-link-alignment

Conversation

@Pranav-IIITM

Copy link
Copy Markdown
Contributor

Summary

On docs pages that list their sub-pages with summaries, such as Concepts, the Learn more → link under each summary is right-aligned again on desktop, as it was before the Bootstrap 5 upgrade in #806. Since that upgrade it had dropped to the left, right under the summary text, where it read like part of the paragraph instead of a link to the full page.

This affects all 32 docs pages that list section summaries. Phones are unchanged: the link stays left-aligned there, as intended.

Closes #992

Before After
image image

Notes for Reviewers
Only class names change, in one template. The link used Bootstrap 4 names that Bootstrap 5 no longer recognises, and they're swapped for the Bootstrap 5 names that apply the same styles. No content or other layout changes. To check, open any docs section page that lists summaries at desktop width and at phone width.

The Learn more link under each section summary used Bootstrap 4 class
names (text-md-right, mr-md-3) that Bootstrap 5 no longer provides, so
the link fell back to the left on desktop. Use the Bootstrap 5
equivalents (text-md-end, me-md-3), which apply the same styles.

Signed-off-by: Pranav-IIITM <jogdandpranav2007@gmail.com>
@Pranav-IIITM
Pranav-IIITM requested a review from a team as a code owner October 23, 2026 09:25

@AidanDelaney AidanDelaney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@AidanDelaney
AidanDelaney enabled auto-merge (squash) October 26, 2026 10:20
@AidanDelaney
AidanDelaney merged commit d7a9a81 into buildpacks:main Oct 26, 2026
3 of 4 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 26, 2026
#993)

The Learn more link under each section summary used Bootstrap 4 class
names (text-md-right, mr-md-3) that Bootstrap 5 no longer provides, so
the link fell back to the left on desktop. Use the Bootstrap 5
equivalents (text-md-end, me-md-3), which apply the same styles.

Signed-off-by: Pranav-IIITM <jogdandpranav2007@gmail.com>
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.

"Learn more" links on docs section pages are no longer right-aligned

2 participants