mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-06 19:58:10 +00:00
fix preview
This commit is contained in:
parent
80b5307a27
commit
0578e73a15
@ -56,7 +56,7 @@ const PreviewPage = memo((props: PreviewPageProps) => {
|
||||
const width = useGetScrollBarWidth(ref);
|
||||
const pcStyle = useMemo(() => {
|
||||
return {
|
||||
width: isMac ? 395 : 375 + width,
|
||||
width: isMac ? 395 : 375 + width + 1, //小数会有偏差
|
||||
margin: '20px auto',
|
||||
border: '10px solid #000',
|
||||
borderRadius: '20px',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user