/*全局样式表*/
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: 800px;
background-color: #eee;
margin: 0;
padding: 30px 10px 0 20px;
}
/*
定义滚动条高宽及背景
高宽分别对应横竖滚动条的尺寸
*/
::-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*/