Can you briefly explain what you’d like to happen with the scrollbar?
For example, it is always larger and has a custom color no matter if you are using it or not? It only gets wider when you click on it and scroll? Something like that could help.
(Only) the thumb should always be visible, so that I always know where I am in the displayed window. If I am in a note, the colored thumb shows me that I am approximately in the middle of the text, for example. If I am in the left-hand window, I can see how much of the display is above and how much is below the thumb.
However, the track disturbs the visual appearance. It should only appear when I need it. This is when I hover over or click on the thumb or the (not yet visible) track.
If I do not need the thumb, it should be displayed narrowly (default width). (I just want to always see where I am in relative terms.) The track should not be displayed at all in normal cases. Only when I click on the thumb or the (invisible) track hover or one of both should the track and thumb be displayed. But then in a larger width so that I can click on them easily. (I have difficulty “hitting” the thumb or track, which is too thin for me).
Also, this is the entire section controlling scrollbars from the app.css. The CSS above only includes the sections needed to get that result. If you are looking to adjust further, you may need to add another section or two to your snippet to overwrite the defaults.
Obsidian’s right scrollbar only works when I click on the thumb or track. It should also work on hover.
The left scrollbar works like the right one, but only the first time after changing and saving my CSS code and when I click on it next. The width is reset to 15px when I click in another window of another application (in my case: notepad++).
It only works again when I click in a window other than Obsidian and then click on the thumb or track.
If I activate the Obsidian window beforehand, the width change does not work.
KI didn’t help, so I need some of your HI (human intelligence).
Thanks for using MagicUser theme. If you need any help to configure this you can open an issue on its repository, so I can try to help more. Please find below the code and let me know if this is the type of effect you are looking for.