Man*_*BAG 6 html jquery twitter-bootstrap twitter-bootstrap-3
我观察到当bootstrap对话框打开时,html的body标签会跟随css.
<body class="modal-open" style="padding-right: 17px;">
Run Code Online (Sandbox Code Playgroud)
我认为这会导致UI动摇.我怎样才能摆脱这种奇怪的行为.我创造了小提琴.但是这个问题并没有产生.但在我的本地环境中,我能够重现这一点.的jsfiddle
只需将其添加到您的 css 中:
.modal-open {
padding-right: 0px !important;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
917 次 |
| 最近记录: |