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

popup 样式有问题 #293

Open
beyondxgb opened this issue Aug 15, 2019 · 1 comment
Open

popup 样式有问题 #293

beyondxgb opened this issue Aug 15, 2019 · 1 comment

Comments

@beyondxgb
Copy link

&-top {
top: 0;
width: 100vw;
transform: translateY(-100%);
}

&-bottom {
bottom: 0;
width: 100vw;
transform: translateY(100%);
}

应该加上 left: 0,要不挂在宽度不是100%的容器,就不靠左了

@linxz
Copy link
Contributor

linxz commented Sep 12, 2019

如果能提供具体的 demo 来复现这个情况,将会更有利于我们排查问题哦。

你这里所列的,已经有 width: 100vw; 作为宽度的单位了。

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

2 participants