Skip to content

Commit

Permalink
fix snake width
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoskolodny committed Nov 29, 2024
1 parent 92602a2 commit 0e56014
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/pages/advent-calendar-2024/pages/calendar-view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ const CalendarView = () => {
easterEgg={true}
/>
</Inline>
<DecorationSnake width={isMobile ? 341 : 371.84} />
<DecorationSnake
width={isMobile ? `calc(min(341px, 100%))` : 371.84}
/>
</Stack>
}
right={
Expand Down
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 @@ -796,7 +796,9 @@ const ClaimYourGift = () => {
Christmas gift
</Text>
</Inline>
<DecorationSnake width={isMobile ? 341 : 371.84} />
<DecorationSnake
width={isMobile ? `calc(min(341px, 100%))` : 371.84}
/>
</>
<Box width={isMobile ? "100%" : 586}>
<Text3 regular>
Expand Down

0 comments on commit 0e56014

Please sign in to comment.