wikilabs / plugins

TW5 plugins: https://wikilabs.github.io
30 stars 8 forks source link

Minor Issue --- CSS for scroll bars on hover ... #110

Closed TiddlyTweeter closed 2 years ago

TiddlyTweeter commented 2 years ago

Your CSS plugin at https://wikilabs.github.io/editions/thin-scrollbars/ is useful! Simple. Does the job!

There is one minor issue for the right sidebar on hover when there are many items. Here is a screen shot where the "inner" scrollbar goes back to "fat" on hovering the sidebar ...

Screenshot 2021-12-27 075324

I'm not sure if this is solvable???

Just a comment. TT.

pmario commented 2 years ago

Here is a screen shot where the "inner" scrollbar goes back to "fat" on hovering the sidebar ...

That's intentional. It makes it easier to "catch" it with the mouse and it makes it visible, which bar is for which element.

See: https://wikilabs.github.io/editions/thin-scrollbars/#%24%3A%2Fplugins%2Fwikilabs%2Fthin-scrollbars%2Fstyles ... the :hover CSS is responsible for this. ... If you want a different behaviour, it's probably better to remove the plugin and copy the CSS elements you want. ... There will be less overhead ;)

The webkit stuff is needed for the Edge browser

TiddlyTweeter commented 2 years ago

That's intentional. It makes it easier to "catch" it with the mouse and it makes it visible, which bar is for which element.

Ah! Thanks. That is useful information! I'll close the issue.