1 Commits

Author SHA1 Message Date
Morten Olsen
e54871a050 Attempted to fix iOS bug 2021-08-27 22:35:11 +02:00

View File

@@ -17,9 +17,9 @@ const ImageWrapper = styled.div<{loaded: boolean}>`
width: 100%;
max-width: 300px;
position: relative;
transition: all 1.2s;
transition: all .6s;
opacity: ${({ loaded }) => loaded ? '1' : '0'};
transform: rotateY(180deg);
transform: ${({ loaded }) => loaded ? 'rotateY(180deg)' : 'rotateY(90deg) translateX(-300px)'};
`;
const Spacer = styled.div`