p { line-height: 25px; } html, body, #app { margin: 0; height: 100%; background: #f2f2f2; font-size: 13px; } .fullheight { height: 100%; } .box-card { height: calc(100% - 2px); } .box-card>.box-body { height: 100%; } .box-card>.el-card__header { padding: 10px; } .box-card>.el-card__body { height: calc(100% - 68px); overflow: auto; padding: 20px 20px 10px 20px; } .form-table { width: 100%; border-top: 1px solid #ebeef5; border-left: 1px solid #ebeef5; } .form-table>thead>tr>th, .form-table>tbody>tr>th { text-align: right; color: #666; font-weight: normal; } .form-table>tbody>tr>th.group-th { text-align: left; background: #f9f9f9; font-weight: bold; } .form-table>thead>tr.sub-table-header>th { text-align: center; background: #fafafa; } .form-table>tbody>tr>th>span, .form-table>thead>tr>th>span { color: #f00; } .form-table>tbody>tr>th, .form-table>tbody>tr>td, .form-table>tfoot>tr>td, .form-table>thead>tr>th { border-right: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5; padding: 15px; min-width: 0; box-sizing: border-box; text-overflow: ellipsis; vertical-align: middle; position: relative; } .form-table>tfoot>tr>td { padding: 5px 10px; } .inputs { display: inline-block; position: relative; } .item-label { text-align: right; vertical-align: middle; font-size: 14px; color: #606266; line-height: 24px; padding: 0 21px 0 0; box-sizing: border-box; } div.flex { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }