I'd suggest adding scrollbar utilities.
Firefox supports scrollbar-color and scrollbar-width properties since v64.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars
Webkit offers even more customization.
https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar
.scrollbar-thin {
scrollbar-width: thin;
scrollbar-color: #c1c1c1 #f5f5f5;
scroll-behavior: smooth;
}
.scrollbar-thin::-webkit-scrollbar{
width: 6px;
height: 6px;
background-color: #f5f5f5;
}
.scrollbar-thin::-webkit-scrollbar-thumb{
border-radius: 10px;
background-color: #c1c1c1;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
background-color: #9d9d9d;
}
I hope this utility would make a scrollable sidebar and modal a little concise.
Here's the example on CodePen, https://codepen.io/aswinkumar863/pen/NWxgqRw
wooow it is a great feature. If are you interested. I can do a pull request with this feature @aswinkumar863
You can @MauricioHernanCabrera. But I don't get any comment about this feature from the bootstrap team.
You can @MauricioHernanCabrera. But I don't get any comment about this feature from the bootstrap team.
okasss
There's almost no browser support in our targetted browsers in v5:
Those properties clearly don't meet our requirement to be added as utilities in v5, as of now. I'll keep this open for further discussions–and keep an eye on this for v6?
Closing for now given this is _maybe_ something we’d do in v6.
Most helpful comment
There's almost no browser support in our targetted browsers in v5:
Those properties clearly don't meet our requirement to be added as utilities in v5, as of now. I'll keep this open for further discussions–and keep an eye on this for v6?