// global-style.less (scope 中无法生效,需写在全局样式中)
.antd-modal-wrap.h80{ // 添加类名选择器 h80
.antd-modal-body {
height: calc(80vh - 110px); // body高度是 80% - 110px (header + footer = 110左右)
}
}
// global-style.less (scope 中无法生效,需写在全局样式中)
.antd-modal-wrap.h80{ // 添加类名选择器 h80
.antd-modal-body {
height: calc(80vh - 110px); // body高度是 80% - 110px (header + footer = 110左右)
}
}