[英]Bootstrap modal moves down the page when resizing the page for mobile
[英]Angular UI Modal moves the page when is open
在角度ui中,即使在源页面示例中,当您打开模态时,后面的页面也会或多或少地移动约5 px。
在页面中打开模式,并查看页面的移动方式。
https://angular-ui.github.io/bootstrap/
有人知道为什么或如何解决此问题。 我在两台显示器上进行了测试。 这是最佳的角度模态,还是其他更好的模态?
我看到这是一个常见的问题,因此调查一些我发现了这个答案,它为我工作:
/* This prevent Content moves to the right*/
body.modal-open {
overflow:inherit;
padding-right:inherit !important;
}
要查看其他答案,请访问以下链接: https : //github.com/twbs/bootstrap/issues/9886
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.