绝对定位bottom失效:
给hieght:100%-------无效。
height: calc(100% - 30px);---------有效
.data-table{
position: absolute;
top: 0;
right: 0;
bottom: 30px;
overflow: auto;
height: calc(100% - 30px);
}
绝对定位bottom失效:
给hieght:100%-------无效。
height: calc(100% - 30px);---------有效
.data-table{
position: absolute;
top: 0;
right: 0;
bottom: 30px;
overflow: auto;
height: calc(100% - 30px);
}