Skip to content

Scroll bars are fat again on the newer Chrome versions? #6782

Answered by kamilkrzyskow
hellt asked this question in Q&A
Discussion options

You must be logged in to vote

Well, true, as I only fixed it for pre > code... now while checking the other possible selectors, I found a @supports selector(::-webkit-scrollbar) in the minified CSS, so this means that squidfunk made similar fixes in the past. Therefore a bug report would definitely be reasonable.

Fixed fix
/* First unset all rules that break Chrome styling */
.md-typeset pre > code,
.md-search__scrollwrap,
.md-sidebar__scrollwrap {
    scrollbar-color: unset;
    scrollbar-width: unset;
}
.md-typeset pre > code:hover,
.md-search__scrollwrap:hover,
.md-sidebar__scrollwrap:focus-within,
.md-sidebar__scrollwrap:hover {
    scrollbar-color: unset;
}
.md-tooltip2__inner {
    scrollbar-width: unset;
}

/…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@hellt
Comment options

@kamilkrzyskow
Comment options

@hellt
Comment options

@kamilkrzyskow
Comment options

Answer selected by kamilkrzyskow
@squidfunk
Comment options

@squidfunk
Comment options

@kamilkrzyskow
Comment options

@hellt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants