Skip to content

BlockSuite API Documentation / @blocksuite/blocks / scrollbarStyle

Function: scrollbarStyle()

scrollbarStyle(container): CSSResult

You should add a container before the scrollbar style to prevent the style pollution of the whole doc.

Parameters

container: string

Returns

CSSResult

Source

packages/blocks/src/_common/components/utils.ts:248