超出部分隐藏可滑动

.departmentName {
overflow-x: hidden;
overflow-y: scroll;
}
.departmentName::-webkit-scrollbar {
display: none;
}

你可能感兴趣的:(超出部分隐藏可滑动)