Closed curran closed 2 years ago
At the moment, the scrollbars stand out in the snippet embed feature.
It would, aesthetically, be better if we could use custom scrollbars there.
We are already using custom scrollbar for the viz view section.
Here's a CodeMirror example with custom scrollbars: https://codemirror.net/demo/simplescrollbars.html
Also here's an example that apparently works with perfect scrollbar https://github.com/umijs/docz-theme-umi/blob/master/src/components/ui/CodeMirror/index.tsx
At the moment, the scrollbars stand out in the snippet embed feature.
It would, aesthetically, be better if we could use custom scrollbars there.
We are already using custom scrollbar for the viz view section.
Here's a CodeMirror example with custom scrollbars: https://codemirror.net/demo/simplescrollbars.html
Also here's an example that apparently works with perfect scrollbar https://github.com/umijs/docz-theme-umi/blob/master/src/components/ui/CodeMirror/index.tsx