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

[Request] Setting to not overwrite the scrollbar style #637

Closed
JannikArndt opened this issue Nov 20, 2021 · 4 comments
Closed

[Request] Setting to not overwrite the scrollbar style #637

JannikArndt opened this issue Nov 20, 2021 · 4 comments

Comments

@JannikArndt
Copy link
Contributor

Hi! 👋

I'm not a fan of overwriting the scrollbar-style. Unfortunately, resetting it doesn't seem possible. My approach would have been to add

::-webkit-scrollbar {
    all: unset !important;
}

to the custom.css, or any combination of more specific, more nested settings. initial or auto instead of unset also don't work. The only thing that does work is to remove styles from zmedia.css. Messing with the original theme is not great, though.

Is it possible to only load the scrollbar-styles if .Site.Params.ColourScrollBar == true via the config?

@adityatelange
Copy link
Owner

I'll look into it if we can make it modular, but it is really hard to make each and eveything optional.
Yes I do respect your opinion, but yes it is not really possible to make a theme where eveyone likes eveything.

@lorenviol
Copy link

It would be a great thing to have the scrollbar optional, not a fan of it either

@chekalsky
Copy link

I agree. Would be good to have it.

@adityatelange
Copy link
Owner

@JannikArndt @lorenviol @chekalsky we have it now toggle-able

romainx pushed a commit to romainx/hugo-PaperMod that referenced this issue Jul 26, 2022
closes adityatelange#637

Usage =>
Params.assets.disableScrollBarStyle: true
minyeamer pushed a commit to minyeamer/hugo-PaperMod that referenced this issue Sep 16, 2022
closes adityatelange#637

Usage =>
Params.assets.disableScrollBarStyle: true
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this issue Feb 21, 2023
closes adityatelange#637

Usage =>
Params.assets.disableScrollBarStyle: true
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

4 participants