My scrollbar is unstyled


#1

Hey there,

I created a simple panel but for some reason the scrollbar is not properly styled.

(since this is my first post I can’t add a second image, so imagine a thin gray line as a properly styled scrollbar)

When I look at the style in the developer tools it shows me the same scrollbar-related style for my panel and the tree view, for example.

Any idea what I might be doing wrong?


#2

By the way, the only scrollbar-related styling I have is

overflow-y: scroll;

The default scrollbar style - which I also find on the panel in the ‘Element’ dev tools - is:

.scrollbars-visible-always /deep/ ::-webkit-scrollbar-track {
  background: #21252b;
}
.scrollbars-visible-always /deep/ ::-webkit-scrollbar-corner {
  background: #21252b;
}
.scrollbars-visible-always /deep/ ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.scrollbars-visible-always /deep/ ::-webkit-scrollbar-thumb {
  border-radius: 5px;
  border: 3px solid #21252b;
  background: #353b45;
  background-clip: content-box;
}