mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-05 19:28:10 +00:00
style: change iphone pos
This commit is contained in:
parent
4800b61228
commit
e8b97ae0d8
@ -56,7 +56,7 @@ const PreviewPage = memo((props: PreviewPageProps) => {
|
|||||||
const pcStyle: CSSProperties = useMemo(() => {
|
const pcStyle: CSSProperties = useMemo(() => {
|
||||||
return {
|
return {
|
||||||
width: isMac ? 395 : 375 + width + 1, //小数会有偏差
|
width: isMac ? 395 : 375 + width + 1, //小数会有偏差
|
||||||
margin: '75px auto',
|
margin: '55px auto',
|
||||||
height: '684px',
|
height: '684px',
|
||||||
overflow: 'auto',
|
overflow: 'auto',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
@ -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%,-60px) scale(0.6)',
|
transform: 'translate(-50%,-80px) scale(0.6)',
|
||||||
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