add scrollbar-corner background color

game-changing style fix for about 6 pixels in the corner of very narrow views
This commit is contained in:
sparks-alec
2022-01-15 10:22:48 -05:00
parent 4b83430bb9
commit 0744e9e3c4
+1 -1
View File
@@ -37,7 +37,7 @@ drawDeviceFrame = function (id) {
// scrollbar styles are inline to prevent the styles flickering in
str += '<style>';
str += '::-webkit-scrollbar {background-color: black;width: 12px;}';
str += '::-webkit-scrollbar-track {background-color: #2b2b2b;}';
str += '::-webkit-scrollbar-track, ::-webkit-scrollbar-corner {background-color: #2b2b2b;}';
str +=
'::-webkit-scrollbar-thumb {background-color: #6b6b6b;border-radius: 16px;border: 3px solid #2b2b2b;}';
str += '::-webkit-scrollbar-button {display:none;}';