1 Commits

Author SHA1 Message Date
Morten Olsen
42952604e3 Attempted to fix iOS bug 2021-08-27 22:40:21 +02:00

View File

@@ -14,11 +14,11 @@ const ImageWrapper = styled.div<{loaded: boolean}>`
border-radius: 50%; border-radius: 50%;
border: solid 10px rgba(255, 255, 255, .5); border: solid 10px rgba(255, 255, 255, .5);
box-shadow: 0 0 35px rgba(0, 0, 0, .5); box-shadow: 0 0 35px rgba(0, 0, 0, .5);
overflow: hidden;
width: 100%; width: 100%;
max-width: 300px; max-width: 300px;
position: relative; position: relative;
transition: all .6s; transition: all 1.2s;
opacity: ${({ loaded }) => loaded ? '1' : '0'};
transform: rotateY(180deg); transform: rotateY(180deg);
`; `;
@@ -68,6 +68,7 @@ const Image = styled.img<{blurDataURL: string}>`
background: url("${({ blurDataURL }) => blurDataURL}"); background: url("${({ blurDataURL }) => blurDataURL}");
position: absolute; position: absolute;
background-size: cover; background-size: cover;
border-radius: 50%;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;