Chrome just launched update 121 a few days ago and I just noticed the scrollbars on my websites look like this ugly scrollbar while they used to look like this cool scrollbar with rounded corners
Is there a way to fix it ?
Chrome just launched update 121 a few days ago and I just noticed the scrollbars on my websites look like this ugly scrollbar while they used to look like this cool scrollbar with rounded corners
Is there a way to fix it ?
2
Answers
If you experience this too it might be because you have two ways of styling CSS : one for chrome and one for firefox :
To fix it you just have to move your Firefox specific CSS inside a
@-moz-document url-prefix()
bloc like this :The Chrome patchnote here says they added support for scrollbar-color and scrollbar-width but it seems that these properties cancel the old ones. That wouldn't be a problem if there was only color and width, but I had other ones like border-radius that don't seem to get a replacement.
God, I thought it’s only something wrong with my installed version. It’s an ugly update. Only happening in windows based machines.
I just removed this :
scrollbar-width: thin;
and all good now