mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-20 12:48:13 +00:00
Merge pull request #50 from MrXujiang/yehuozhiliwork
style: change iphone pos
This commit is contained in:
commit
dea42a3372
@ -60,7 +60,7 @@ const PreviewPage = memo((props: PreviewPageProps) => {
|
|||||||
height: '684px',
|
height: '684px',
|
||||||
overflow: 'auto',
|
overflow: 'auto',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
transform: 'scale(0.8) translateY(-100px)',
|
transform: 'scale(0.8) translateY(-80px)',
|
||||||
};
|
};
|
||||||
}, [width]);
|
}, [width]);
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ const PreviewPage = memo((props: PreviewPageProps) => {
|
|||||||
height: '840px',
|
height: '840px',
|
||||||
width: '419px', //375+22+22
|
width: '419px', //375+22+22
|
||||||
left: '50%',
|
left: '50%',
|
||||||
transform: 'translate(-50%,-90px) scale(0.8)',
|
transform: 'translate(-50%,-60px) scale(0.8)',
|
||||||
boxShadow: '0 4px 30px 0 rgba(4, 59, 85, 0.1)',
|
boxShadow: '0 4px 30px 0 rgba(4, 59, 85, 0.1)',
|
||||||
borderRadius: '60px',
|
borderRadius: '60px',
|
||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user