glkote
glkote copied to clipboard
In a typical single text-buffer set up move the scrollbar to the page side
It would in theory be possible to detect whether the window arrangement has a typical single text-buffer, and if so to do some shenanigans to move the scroll bar to the side of the page. Maybe the <div> dimensions would be stretched to the page limits, and an inner div (or padding?) was used to limit the width of the window. If GlkOte was ever changed to use the flex box system it might be simpler?
Low priority, and rather hacky, but raising this issue so that the idea isn't forgotten.
I investigated this while trying to research #50 (but wound up solving it another way).
What I did was to set the buffer window to position: static and all other windows to position: fixed. It was fine, but it didn't solve any of my problems, so I didn't turn it into a PR.
(What problem is this intended to solve?)
(What problem is this intended to solve?)
This ugliness. But it could also be helped with some scroll bar styles.

These styles work nicely (in Webkit at least)
.BufferWindow {
overflow: auto;
scrollbar-gutter: stable;
}
.BufferWindow::-webkit-scrollbar {
width: 10px;
}
.BufferWindow::-webkit-scrollbar-thumb {
background: rgba(50%,50%,50%,25%);
}
