client: add menu width

pull/160/head
fantasticit 2022-08-15 11:07:41 +08:00
parent a29baf7e2a
commit 1f2b4819d8
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ export const DocumentActions: React.FC<IProps> = ({
visible={popoverVisible} visible={popoverVisible}
onVisibleChange={wrapOnVisibleChange} onVisibleChange={wrapOnVisibleChange}
content={ content={
<Dropdown.Menu> <Dropdown.Menu style={{ width: 112 }}>
{showCreateDocument && ( {showCreateDocument && (
<Dropdown.Item onClick={create}> <Dropdown.Item onClick={create}>
<Text> <Text>