Skip to content

fix(www): size 404 Headlines to content so the row centers#801

Merged
Shreyag02 merged 1 commit into
mainfrom
fix/docs/not-found-spacing-fix
May 12, 2026
Merged

fix(www): size 404 Headlines to content so the row centers#801
Shreyag02 merged 1 commit into
mainfrom
fix/docs/not-found-spacing-fix

Conversation

@Shreyag02
Copy link
Copy Markdown
Contributor

Description

fix(www): size 404 Headlines to content so the row centers

fixing the 404 page where Headline's built-in width:100% breaks the centered layout, and the consumer-site fix in not-found.tsx using style width:auto.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)

How Has This Been Tested?

Screenshot 2026-05-12 at 3 34 07 PM

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (.mdx files)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Screenshots (if appropriate):

Screenshot 2026-05-12 at 3 32 56 PM

Related Issues

N/A

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
apsara Ready Ready Preview, Comment May 12, 2026 10:04am

@Shreyag02 Shreyag02 requested a review from rohanchkrabrty May 12, 2026 10:04
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 12, 2026

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5060a7a5-9513-4689-b97c-dc75bd7df886

📥 Commits

Reviewing files that changed from the base of the PR and between fcfaef0 and 8b93eb9.

📒 Files selected for processing (1)
  • apps/www/src/app/not-found.tsx

📝 Walkthrough

Walkthrough

This PR updates the NotFound (404) page by adding style={{ width: 'auto' }} inline styles to both Headline components. The changes affect the "404" display and the "This page could not be found." message, ensuring consistent width behavior across both headlines.

Suggested reviewers

  • rohanchkrabrty
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: fixing the 404 page layout by sizing Headlines to content so the row centers, which matches the changeset's modifications to the NotFound component.
Description check ✅ Passed The description is clearly related to the changeset, explaining the bug being fixed (Headline's width:100% breaking centered layout) and the solution applied (using width:auto in not-found.tsx).
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Shreyag02 Shreyag02 requested a review from paanSinghCoder May 12, 2026 10:05
@Shreyag02 Shreyag02 merged commit c2229c4 into main May 12, 2026
5 checks passed
@Shreyag02 Shreyag02 deleted the fix/docs/not-found-spacing-fix branch May 12, 2026 10:07
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.

3 participants