/*全局样式表*/ html, body, #app { height: 100%; margin: 0; padding: 0; /*min-width: 1800px;*/ /*overflow-y: hidden;*/ /*overflow-x: hidden;*/ } .body { display: flex; flex-direction: column; height: 100%; /*background-color: #eee;*/ margin: 0; padding: 0 10px; } .elForm { display: flex; justify-content: flex-start; width: 100%; flex-wrap: wrap; } .elTableDiv { display: flex; border: 1px solid #eee; width: 99%; margin: 0 auto; } /* 定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸 */ ::-webkit-scrollbar { width: 7px; height: 7px; background-color: white; } ::-webkit-scrollbar-thumb { box-shadow: inset 0 0 0px white; -webkit-box-shadow: inset 0 0 0px white; background-color: rgb(193, 193, 193); /*滚动条的背景颜色*/ border-radius: 20px; } /*解决表格固定列时的压样式问题*/ .el-table__fixed { height: calc(100% - 7px) !important; } .el-table__fixed-right { height: calc(100% - 12px) !important; } .el-table__fixed-right::before, .el-table__fixed::before { background-color: unset !important; } /*scrollbar END*/