Skip to content

Commit 5240b07

Browse files
committed
fix(home): remove horizontal padding from principle rows
1 parent 7800cbd commit 5240b07

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎src/routes/index.tsx‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,8 @@ function cubicAngle(
406406
/**
407407
* The "Why TanStack?" principles stack — Figma 478:1734.
408408
*
409-
* Geometry follows the design frame: a 960px column, each feature card 313px
410-
* tall (233px of content inside 40px padding), with the copy column and the
411-
* proof panel separated by a 48px gutter. The description sits bottom-right of
412-
* its column, which is what produces the stepped rhythm down the stack.
409+
* On desktop, the stack is 960px wide. Each card has 233px of content with
410+
* 40px of padding above and below and a 70px gap between the two columns.
413411
*/
414412
function WhyTanStackSection() {
415413
return (
@@ -435,7 +433,7 @@ function WhyTanStackSection() {
435433
<li
436434
key={principle.title}
437435
className={twMerge(
438-
'flex flex-col gap-8 p-6 sm:p-10 lg:flex-row lg:items-center lg:justify-center lg:gap-[70px]',
436+
'flex flex-col gap-8 py-6 sm:py-10 lg:flex-row lg:items-center lg:justify-center lg:gap-[70px]',
439437
index < whyTanStackPrinciples.length - 1 &&
440438
'border-b border-gray-200 dark:border-gray-800',
441439
)}

0 commit comments

Comments
 (0)