Bootstrap modal body max height 100%

后端 未结 10 1840
梦如初夏
梦如初夏 2020-12-31 06:37

I have a custom sized (80% height width) bootstrap modal body and it scrolls (body content will overflow on some sized screens)

There are 2 problems:

  1. I
10条回答
  •  南笙
    南笙 (楼主)
    2020-12-31 07:15

    you should try to position it absolutly within an element whose position is set to relative. There you then can work with something like

    {
        bottom:0;
        top:0;
        left:0;
        right:0;
    

提交回复
热议问题