Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.special-wrapper样式中为什么要加left:74rpx; 与IPhone x的显示 #7

Open
liaoyongming opened this issue Aug 13, 2019 · 0 comments

Comments

@liaoyongming
Copy link

liaoyongming commented Aug 13, 2019

.special-wrapper{ display: flex; flex-direction: column; justify-content: center; align-items: center; position: absolute; /* left: 74rpx; */ top: -36rpx; width: 120rpx; height: 120rpx; border-radius: 50%; border-top: 2rpx solid #f2f2f3; background-color: #fff; text-align: center; box-sizing: border-box; padding: 6rpx; }
你这段样式中中间的距左偏离74rpx在我这边没法居中,注释掉可以居中,请问当初开发时为什么需要加这个left
另外现在iPhone x不用加特殊处理了,我去掉Iphone x的特殊处理反而正常了,否则变形无法显示图片。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant