From 86ba08cfd9062b8a37da0ce252f0225edc77ff16 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Thu, 2 Jun 2022 17:59:28 +0800 Subject: [PATCH] client: add overflow --- packages/client/src/tiptap/editor/tocs/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/tiptap/editor/tocs/index.tsx b/packages/client/src/tiptap/editor/tocs/index.tsx index fcb1802..47fc7fa 100644 --- a/packages/client/src/tiptap/editor/tocs/index.tsx +++ b/packages/client/src/tiptap/editor/tocs/index.tsx @@ -132,6 +132,7 @@ export const Tocs: React.FC<{ editor: Editor; getContainer: () => HTMLElement }> getContainer={getContainer} style={{ width: collapsed ? 56 : 156, + overflow: 'auto', }} > {collapsed