fix invite others (#2904)

"Invite others" button in the people menu looked off - icon was in the
wrong place and it was messing up the layout.

### Change Type

- [x] `patch` — Bug fix
This commit is contained in:
alex 2024-02-21 15:16:06 +00:00 committed by GitHub
parent 987a576423
commit 1850602ea7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,10 +80,8 @@ export const PeopleMenu = track(function PeopleMenu({
data-testid="people-menu.invite" data-testid="people-menu.invite"
onClick={() => editor.addOpenMenu('share menu')} onClick={() => editor.addOpenMenu('share menu')}
> >
<TldrawUiButtonLabel> <TldrawUiButtonLabel>{msg('people-menu.invite')}</TldrawUiButtonLabel>
{msg('people-menu.invite')} <TldrawUiButtonIcon icon="plus" />
<TldrawUiButtonIcon icon="plus" />
</TldrawUiButtonLabel>
</TldrawUiButton> </TldrawUiButton>
</div> </div>
)} )}