[Glitch] Move the account dropdown menubar to the right, make sure it doesn't move

Port 2e5ec8b7c8 to glitch-soc
This commit is contained in:
ThibG 2019-03-26 23:05:21 +01:00
parent 6df0d0fd51
commit fb17e24352
2 changed files with 7 additions and 3 deletions

View file

@ -212,9 +212,9 @@ class Header extends ImmutablePureComponent {
<div className='spacer' /> <div className='spacer' />
<div className='account__header__tabs__buttons'> <div className='account__header__tabs__buttons'>
<DropdownMenuContainer items={menu} icon='ellipsis-v' size={24} direction='right' />
{actionBtn} {actionBtn}
<DropdownMenuContainer items={menu} icon='ellipsis-v' size={24} direction='right' />
</div> </div>
</div> </div>

View file

@ -557,7 +557,7 @@
.avatar { .avatar {
display: block; display: block;
flex: 0 0 auto; flex: 0 0 auto;
width: 90px; width: 94px;
margin-left: -2px; margin-left: -2px;
.account__avatar { .account__avatar {
@ -576,12 +576,16 @@
display: flex; display: flex;
align-items: center; align-items: center;
padding-top: 55px; padding-top: 55px;
overflow: hidden;
.icon-button { .icon-button {
border: 1px solid lighten($ui-base-color, 12%); border: 1px solid lighten($ui-base-color, 12%);
border-radius: 4px; border-radius: 4px;
box-sizing: content-box; box-sizing: content-box;
padding: 2px; padding: 2px;
}
.button {
margin: 0 8px; margin: 0 8px;
} }
} }