//外层div绑定样式
.chart-wrapper {
background: #fff;
padding: 0px 16px 16px 30px;
height: calc(84vh - 50px);
width: 100%;
overflow-y: scroll;
position: absolute;
scrollbar-width: thin; /* 适用于Firefox */
}
// 修改滚动条样式
.chart-wrapper::-webkit-scrollbar {
width: 8px; /* 设置滚动条宽度 */
}
.chart-wrapper::-webkit-scrollbar-track {
background-color: #fff; /* 设置滚动条背景颜色 */
border-radius: 3px;
}
.chart-wrapper::-webkit-scrollbar-thumb {
background-color: #a3b9ed; /* 设置滚动条滑块颜色 */
border-radius: 3px;
}