Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
christianch
Experienced
Topic Author
Posts: 49
Joined: 08 Mar 2021, 03:27

scrollbar width

03 Oct 2021, 11:56

Hi ,

What is the better way for enlarge the right scrollbar? (science skin)

I use this ,it is working with safari, chrome but not with FF:
Code
.sb-scrollbar::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 18px;
}

.sb-scrollbar::-webkit-scrollbar-thumb {
    background-color: #327dba;
}

.root-scrollbar::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 18px;
}
Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: scrollbar width

03 Oct 2021, 12:05

Sorry no. Firefox does not support -webkit- scrollbar "width". In Firefox, you can set scrollbar-width thin or normal / auto, but not thicker than default.
https://developer.mozilla.org/en-US/doc ... lbar-width

Personally, I don't see why you need to edit or increase the scrollbar width. Most users don't use the scrollbar for anything else than a visual indicator, as touch/mousewheel/trackpage is far superior for scrolling.
 
User avatar
christianch
Experienced
Topic Author
Posts: 49
Joined: 08 Mar 2021, 03:27

Re: scrollbar width

03 Oct 2021, 12:21

Thank Karl!
Personally, I don't see why you need to edit or increase the scrollbar width. Most users don't use the scrollbar for anything else than a visual indicator, as touch/mousewheel/trackpage is far superior for scrolling.
Simply because I had several feedback on the subject ..... but you right !