mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 08:34:54 -04:00
Improved text-icon-layout of user-dropdown
This commit is contained in:
parent
f5a851814a
commit
9d834f97d0
1 changed files with 4 additions and 4 deletions
|
@ -26,25 +26,25 @@ export const UserDropdown: React.FC = () => {
|
||||||
<Dropdown.Menu>
|
<Dropdown.Menu>
|
||||||
<LinkContainer to={`/features`}>
|
<LinkContainer to={`/features`}>
|
||||||
<Dropdown.Item>
|
<Dropdown.Item>
|
||||||
<FontAwesomeIcon icon="bolt"/>
|
<FontAwesomeIcon icon="bolt" fixedWidth={true} className="mr-2"/>
|
||||||
<Trans i18nKey="features"/>
|
<Trans i18nKey="features"/>
|
||||||
</Dropdown.Item>
|
</Dropdown.Item>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
<LinkContainer to={`/me/export`}>
|
<LinkContainer to={`/me/export`}>
|
||||||
<Dropdown.Item>
|
<Dropdown.Item>
|
||||||
<FontAwesomeIcon icon="cloud-download-alt"/>
|
<FontAwesomeIcon icon="cloud-download-alt" fixedWidth={true} className="mr-2"/>
|
||||||
<Trans i18nKey="exportUserData"/>
|
<Trans i18nKey="exportUserData"/>
|
||||||
</Dropdown.Item>
|
</Dropdown.Item>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
<Dropdown.Item href="#">
|
<Dropdown.Item href="#">
|
||||||
<FontAwesomeIcon icon="trash"/>
|
<FontAwesomeIcon icon="trash" fixedWidth={true} className="mr-2"/>
|
||||||
<Trans i18nKey="deleteUser"/>
|
<Trans i18nKey="deleteUser"/>
|
||||||
</Dropdown.Item>
|
</Dropdown.Item>
|
||||||
<Dropdown.Item
|
<Dropdown.Item
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
clearUser();
|
clearUser();
|
||||||
}}>
|
}}>
|
||||||
<FontAwesomeIcon icon="sign-out-alt"/>
|
<FontAwesomeIcon icon="sign-out-alt" fixedWidth={true} className="mr-2"/>
|
||||||
<Trans i18nKey="signOut"/>
|
<Trans i18nKey="signOut"/>
|
||||||
</Dropdown.Item>
|
</Dropdown.Item>
|
||||||
</Dropdown.Menu>
|
</Dropdown.Menu>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue