Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Horizontal Scrollbar, or hide it? #2

Open
Lulka117 opened this issue Apr 11, 2023 · 1 comment
Open

Remove Horizontal Scrollbar, or hide it? #2

Lulka117 opened this issue Apr 11, 2023 · 1 comment

Comments

@Lulka117
Copy link

Hello,

I love this lite twitch player that you have made.

Is there any possibility of removing or hiding the horizontal scrollbar?

And perhaps turning the white line that separates the video chat to the color black?

[https://gyazo.com/631c4e2d61d86bfea3a75975998e73ed]

I love my dark mode.

@mrtysn
Copy link

mrtysn commented Jul 2, 2024

Hi,

I had a similar issue, and I've written a Tampermonkey script to inject custom CSS whenever I visit the website to fix it. In my version, I was only dealing with scrollbars, but I also liked your recolor of the 'drag' bar.

Here it is:

(function() {
    'use strict';

    var css = `
    html, body {
        overflow: hidden;
    }
    .Splitter>.drag {
        background-color: black;
    }
    `;
    var style = document.createElement('style');
    style.type = 'text/css';
    style.appendChild(document.createTextNode(css));
    document.head.appendChild(style);
})();

I love this project. My Surface Pro 7 chugs if I try to load regular Twitch on my 2nd screen, yet I can use the lite version with no issues (including 7TV/BTTV emotes).

My very minor annoyance is having the minimum width for the left and right panels at 400px. I'd love to shrink the chat narrower than 400px. The constant is here.

@thavixt , If you are accepting PR's, I can quickly create one instead of these hacky fixes.

Cheers,
Mert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants