empty poster removed from mobile view in details

This commit is contained in:
Daniel Shleifman
2021-06-04 22:00:16 +03:00
parent d8e1767dc1
commit 5a881836cb

View File

@@ -47,15 +47,13 @@ export const Poster = styled.div`
}
@media (max-width: 840px) {
height: 200px;
${!poster &&
css`
width: 150px;
svg {
transform: translateY(-3px);
}
`}
${poster
? css`
height: 200px;
`
: css`
display: none;
`}
}
`}
`