client: add overflow

This commit is contained in:
fantasticit 2022-06-02 17:59:28 +08:00
parent 2992943e4f
commit 86ba08cfd9
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ export const Tocs: React.FC<{ editor: Editor; getContainer: () => HTMLElement }>
getContainer={getContainer}
style={{
width: collapsed ? 56 : 156,
overflow: 'auto',
}}
>
{collapsed