修改wangEditor样式的文章前几篇已经写过,修改滑条的方式也是一样,不过重点是找到滑条所在的div,看以下代码
.report >>> .w-e-text::-webkit-scrollbar {
width: 8px !important;
height: 8px !important;
}
.report >>> .w-e-text::-webkit-scrollbar-thumb {
border-radius: 5px !important;
box-shadow: 0 0 2px #fff !important;
background-color: #ddd !important;
}
.report >>> .w-e-text::-webkit-scrollbar-track{
border-radius: 0;
box-shadow: inset 0 0 2px #fff;
}