Skip to content

Commit

Permalink
add sticky right content
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoskolodny committed Nov 29, 2024
1 parent 653103d commit 28c07d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/advent-calendar-2024/pages/claim-your-gift.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,9 @@ const ClaimYourGift = () => {
<Grid columns={12}>
<GridItem columnSpan={7}>{leftContent}</GridItem>
<GridItem columnStart={9} columnSpan={4}>
{rightContent}
<div style={{ position: "sticky", height: "auto", top: 80 }}>
{rightContent}
</div>
</GridItem>
</Grid>
</ResponsiveLayout>
Expand Down

0 comments on commit 28c07d7

Please sign in to comment.