Skip to content

Way to disable custom scrollbars #354

Description

@MarcusCaspeco

Hi!

The custom ::-webkit-scrollbar styles are causing a white square on my starlight site.

Image

Unfortunately I don't have a minimal repro on hand right now, but the issue isn't the white box, it's more so the lack of option to turn custom scrollbars off.

Normally, I would just be able to do something like

.expressive-code pre::-webkit-scrollbar,
.expressive-code pre::-webkit-scrollbar-track {
	all: unset !important;
}

But it seems like if I add any property at all, even border-radius: unset;, the scroll bar changes its apperance in Chrome.

Image

I would like a configuration option to turn these custom scrollbars off :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions