Skip to content

Conversation

@oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Feb 17, 2024

I saw this done in Docusaurus https://github.com/facebookincubator/infima/blob/aa1eebd35cdaee3348eb47315774882464cb522f/packages/core/styles/utilities/custom-scrollbar.pcss#L17 while I was browsing a docs of another project. They also do it for the side nav tab, but this feels wrong. So I opened a PR, quick-win.

One step closer to address #38710. A previous iteration was done in #37770.

Before
SCR-20240217-ulre

After
SCR-20240217-ulps

Ideally, we could have used https://stackoverflow.com/a/68860350/2801714 but Chrome is so buggy with it, it's not ready yet.

@oliviertassinari oliviertassinari added design This is about UI or UX design, please involve a designer. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). labels Feb 17, 2024
@mui-bot
Copy link

mui-bot commented Feb 17, 2024

Netlify deploy preview

https://deploy-preview-41148--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 484dd76

@oliviertassinari oliviertassinari force-pushed the docs-infra-thin-scrollbar branch from 5c83bd8 to 484dd76 Compare February 17, 2024 23:27
@oliviertassinari oliviertassinari changed the title [docs–infra] Reduce scrollbar width on ROC [docs-infra] Reduce scrollbar width on ROC Feb 17, 2024
Copy link
Collaborator

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Hadn't come across this CSS property before 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design This is about UI or UX design, please involve a designer. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants