Modal没有停留在固定位置 - Twitter Bootstrap

时间:2022-05-16 19:39:57

For some reason, my Twitter Bootstrap modals don't seem to be working correctly. On a long page, the modal doesn't stay fixed on the screen - and is instead displayed at the top of the page.

出于某种原因,我的Twitter Bootstrap模式似乎没有正常工作。在长页面上,模态不会保持固定在屏幕上 - 而是显示在页面顶部。

The modals are displaying at the top instead of staying on-screen and fixed.

模态显示在顶部而不是保持在屏幕上并固定。

I hope this makes sense, and someone might know what's going wrong here. Something in the wrong place, something missing possibly?

我希望这是有道理的,有人可能知道这里出了什么问题。有什么东西在错误的地方,可能会遗漏一些东西?

1 个解决方案

#1


2  

This probleme should be only in webkit browsers, cause in core.css you have added

这个问题应该只在webkit浏览器中,因为你已经添加了core.css

body {
    -webkit-transform: rotate(0deg);
}

If you remove this, everything should be fine.

如果你删除它,一切都应该没问题。

#1


2  

This probleme should be only in webkit browsers, cause in core.css you have added

这个问题应该只在webkit浏览器中,因为你已经添加了core.css

body {
    -webkit-transform: rotate(0deg);
}

If you remove this, everything should be fine.

如果你删除它,一切都应该没问题。