Modal style modification problem

problem description

the environmental background of the problems and what methods you have tried

when I click the "cancel" button without entering anything, there will be an extra line of prompts, which will take up a certain amount of space, resulting in the following "cancel" button moving down, thus canceling the function for the first time, and can not close the pop-up box in time. I would like to ask, how to change the style without increasing the height or squeezing the space below when prompted?

related codes

/ / Please paste the code text below (do not replace the code with pictures)


.ivu-form-item:after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0
}
.ivu-form-item-content {
position: relative;
line-height:28px;
font-size: 12px
}
.ivu-form-item .ivu-form-item {
margin-bottom: 0
}
.ivu-form-item .ivu-form-item .ivu-form-item-content {
    margin-left: 0!important
}
.ivu-form-item-error-tip {
    /*position: absolute;*/
    top: 100%;
    left: 0;
    line-height: 1;
    padding-top: 12px;
    color: -sharped4014;
    width: 170px;
}
.ivu-form-item-required .ivu-form-item-label:before {
    content: "*";
    display: inline-block;
    margin-right: 4px;
    line-height: 1;
    font-family: SimSun;
    font-size: 12px;
    color: -sharped4014
}

what result do you expect? What is the error message actually seen?

how do I set the property so that the content does not change the height with the increase of the internal content?

.ivu-modal-body {
    padding:10px;
    font-size: 12px;
    line-height: 1.5

}

Jan.21,2022
Menu