The best way to control Claude Code, Codex and more from any computer or phone
fix(marketing): align the endorsement carousel with its heading (#9912)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Julius Marminge committed
Sep 5, 2026 at 00:15 UTC
fc1f543d6c67da9cf1edb25b647646faa0105b41
1 file changed
+5
-2
apps/marketing/src/pages/index.astro
+5
-2
@@ -826,8 +826,11 @@ const screenshot = await getImage({
826
gap: 12px;
827
overflow-x: auto;
828
overscroll-behavior-x: contain;
829
- padding: 4px max(32px, calc((100vw - 1240px) / 2 + 32px));
830
- scroll-padding-inline: max(32px, calc((100vw - 1240px) / 2 + 32px));
829
+ /* Percentages resolve against this element's own box rather than the
830
+ viewport, so the first card lines up with the heading's .container edge
831
+ even when a classic scrollbar makes 100vw wider than the layout. */
832
+ padding: 4px max(32px, calc((100% - 1240px) / 2 + 32px));
833
+ scroll-padding-inline: max(32px, calc((100% - 1240px) / 2 + 32px));
834
}
835
836
.endorsement-card {