Skip to content

Commit

Permalink
Hide video on S/M theme breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-black committed Apr 16, 2024
1 parent 8611423 commit 6e0f7ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/components/fullscreen-video-overlay/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ export const ThumbnailImage = styled.img`
width: 100%;
height: 100%;
cursor: pointer;
aspect-ratio: 4/3;
`;
3 changes: 1 addition & 2 deletions src/components/hero-main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,9 @@ export function HeroMain({ title, ticker, body, image, partners }: HeroMainProps
</Reveal>
</Root>


<Reveal staggerIndex={3} >
<PartnerList partners={partners}/>
</Reveal>
</RevealWrapper>
)
}
}
6 changes: 3 additions & 3 deletions src/components/hero-main/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ export const Media = styled(Box)`
`*/

export const Media = styled.div`
width: 100%;
max-width: 100%;
display:none;
max-width: 33%;
position: absolute;
right: 0;
top: 0;
@media screen and (min-width: ${({ theme }) => theme.breakpoints['S']}) {
@media screen and (min-width: ${({ theme }) => theme.breakpoints['M']}) {
display: block;
}
Expand Down

0 comments on commit 6e0f7ce

Please sign in to comment.