我有这样的页面结构:
<div class='row'>
<div class='col-md-12'>
some fixed contents
</div>
</div>
<div class='row' style="overflow-y: scroll, position: absolute;">
<div class='col-xs-1'></div>
<div class='col-xs-10'>
<div ui-view></div>
</div>
<div class='col-xs-1'></div>
</div>
<div class='row'>
<div class='col-md-12'>
some fixed contents
</div>
</div>
如果它们不适合屏幕,我无法绘制滚动条。 ui-view内的额外内容被隐藏。
需要进行哪些更改?
答案 0 :(得分:0)
您需要在CSS中设置高度以查看垂直滚动条。
#inner-sroll {
height: 300px;
max-height: 300px;
overflow-y: scroll;
}