`::-webkit-scrollbar{
width: 12px;
}
body::-webkit-scrollbar-track{
background: #f1e9e9;
border-radius: 10px;
margin-block: 0.1875rem;
}
::-webkit-scrollbar-thumb{
background-color: #582965;
border-radius: 10px;
border: 3px solid #ffffff;
}
::-webkit-scrollbar-thumb:hover{
background-color: #40144d;
}
::-webkit-scrollbar-track:horizontal{
display: none;
}`
我在 css 中为滚动条编写了这段代码,滚动条工作得很好,但出于某种原因,我不知道滚动条正下方有一个小的白色方块
[这是整个项目的链接,以防有人认为问题可能出自代码的其他地方](https://github.com/TallesMoura/pokemonListing/tree
type here
/main/pokemonListing)
I can't think of anything i haven't tried to solve this