bootstrap 4 row height set by specific col - not highest one

倖福魔咒の 提交于 2019-11-29 16:54:53

You need to make the list-group position:absolute, and then set overflow:auto on both the list and list-group...

.list {
    overflow: auto
}

.scroll {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    overflow:auto;
}

Demo: https://www.codeply.com/go/X2ydvxPU3k


Also see:
One flex item sets the height limit for siblings
Flex equal height column but respect max height of another column

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!