AccountHeader: improve style of DropdownMenu, use Tabler icon

This commit is contained in:
Alex Gleason 2021-10-13 12:20:54 -05:00
parent 59835087b5
commit 8e1600e179
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 6 additions and 5 deletions

View file

@ -396,7 +396,7 @@ class Header extends ImmutablePureComponent {
<div className='account__header__extra__buttons'>
<ActionButton account={account} />
{me && <DropdownMenuContainer items={menu} icon='ellipsis-v' size={24} direction='right' />}
{me && <DropdownMenuContainer items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} direction='right' />}
</div>
</div>

View file

@ -197,12 +197,13 @@
.icon-button {
border: 1px solid var(--brand-color--med);
border-radius: 4px;
border-radius: 999px;
box-sizing: content-box;
padding: 2px;
padding: 7px;
> div {
line-height: 31px !important;
.svg-icon {
width: 20px;
height: 20px;
}
}