style: change iphone position

This commit is contained in:
yehuozhili 2020-10-09 15:57:41 +08:00
parent 1ddc9f5fb4
commit f7ff9806d2

View File

@ -60,6 +60,7 @@ const PreviewPage = memo((props: PreviewPageProps) => {
height: '684px',
overflow: 'auto',
position: 'relative',
transform: 'scale(0.8) translateY(-100px)',
};
}, [width]);
@ -92,7 +93,7 @@ const PreviewPage = memo((props: PreviewPageProps) => {
height: '840px',
width: '419px', //375+22+22
left: '50%',
transform: 'translateX(-50%)',
transform: 'translate(-50%,-90px) scale(0.8)',
boxShadow: '0 4px 30px 0 rgba(4, 59, 85, 0.1)',
borderRadius: '60px',
pointerEvents: 'none',