You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(home): remove horizontal padding from principle rows - #1521
Remove horizontal padding from every row in the homepage’s Why TanStack? section so the text aligns with the left edge of the row dividers.
Use py-6 sm:py-10 to keep the existing vertical spacing and retain the section’s page gutters.
Testing
Typecheck, lint, and desktop tests passed. Verified that Tailwind generates vertical-only padding at both breakpoints.
The full pnpm test run hit a local IPC permission error. Running the unit and chat suites separately surfaced local socket and browser launch restrictions.
Summary by CodeRabbit
Style
Principle cards retain their vertical padding and no longer have horizontal padding at any screen size, giving their content more available width. The desktop layout description now specifies a 960px stack, 233px card content, 40px of vertical padding, and a 70px gap between columns.
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
No actionable comments were generated in the recent review.
Walkthrough
The layout comment now describes updated stack and card dimensions. Principle cards retain vertical padding and no longer apply horizontal padding.
Changes: Principle Card Layout
Layer / File(s)
Summary
Layout spacing updates src/routes/index.tsx
The layout comment describes a 960px stack, 233px of card content, 40px vertical padding, and a 70px column gap. Principle cards use vertical-only padding.
This change removes horizontal padding from the homepage principle rows so their text lines up with the divider edges. It is a small visual adjustment with no functional impact, and merge risk is minimal.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the change: horizontal padding is removed from the principle rows on the home page. The raw summary confirms the edit to the WhyTanStack section in src/routes/index.tsx, where principl…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the change: horizontal padding is removed from the principle rows on the home page. The raw summary confirms the edit to the WhyTanStack section in src/routes/index.tsx, where principle cards no longer apply horizontal padding at any breakpoint. The objectives state the same aim, to align row text with the row dividers. The title is specific and matches the changeset, so the check passes.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: e522dde4-e6ab-4d08-845a-432a7060d04e
Commits
Reviewing files that changed from the base of the PR and between 7800cbd and 5240b07.
Files selected for processing: 1
src/routes/index.tsx
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Summary
py-6 sm:py-10to keep the existing vertical spacing and retain the section’s page gutters.Testing
pnpm testrun hit a local IPC permission error. Running the unit and chat suites separately surfaced local socket and browser launch restrictions.Summary by CodeRabbit