Skip to content

Commit 1b9c091

Browse files
authored
fix(home): correct flipped carousel arrows on narrow viewport (#732)
1 parent e592f88 commit 1b9c091

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ const Index = () => {
344344
fontSize: "24px",
345345
color: "var(--brand-color)",
346346
margin: "10px",
347-
marginLeft: isSmall ? "0" : "300px",
347+
marginLeft: isSmall ? "12.5%" : "25%",
348348
position: "absolute",
349349
}}
350350
>
@@ -360,7 +360,7 @@ const Index = () => {
360360
color: "var(--brand-color)",
361361
margin: "10px",
362362
position: "absolute",
363-
marginRight: isSmall ? "0" : "300px",
363+
marginRight: isSmall ? "12.5%" : "25%",
364364
}}
365365
>
366366
{">"}

0 commit comments

Comments
 (0)