fix(marketing): align the endorsement carousel with its heading (#9912)
Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
50027bb3ad
commit
fc1f543d6c
1 file changed
+5
-2
@@ -826,8 +826,11 @@ const screenshot = await getImage({
|
||||
gap: 12px;
|
||||
overflow-x: auto;
|
||||
overscroll-behavior-x: contain;
|
||||
padding: 4px max(32px, calc((100vw - 1240px) / 2 + 32px));
|
||||
scroll-padding-inline: max(32px, calc((100vw - 1240px) / 2 + 32px));
|
||||
/* Percentages resolve against this element's own box rather than the
|
||||
viewport, so the first card lines up with the heading's .container edge
|
||||
even when a classic scrollbar makes 100vw wider than the layout. */
|
||||
padding: 4px max(32px, calc((100% - 1240px) / 2 + 32px));
|
||||
scroll-padding-inline: max(32px, calc((100% - 1240px) / 2 + 32px));
|
||||
}
|
||||
|
||||
.endorsement-card {
|
||||
|
||||
Reference in new issue
Block a user