Skip to content

Commit

Permalink
Merge branch 'develop' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
TedxTed committed Dec 23, 2024
2 parents 7a43eea + 2bcb134 commit 21774b4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/ProgramPage/Secondary/Banner/PictureBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,17 @@ const Cover = styled.div<{ coverUrl?: { mobileUrl?: string; desktopUrl?: string
background-image: url(${props => props.coverUrl?.mobileUrl || props.coverUrl?.desktopUrl});
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
@media (max-width: ${BREAK_POINT}px) {
transform: scale(1.05);
}
@media (min-width: ${BREAK_POINT}px) {
background-image: url(${props => props.coverUrl?.desktopUrl || props.coverUrl?.mobileUrl});
}
`

const ContentWrapper = styled.div<{ gradient?: boolean }>`
position: relative;
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
Expand Down

0 comments on commit 21774b4

Please sign in to comment.