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

Port a91acf79b5 to glitch-soc
master
ThibG 6 years ago
parent 37ad0478ef
commit 841d2c9f23
  1. 4
      app/javascript/flavours/glitch/features/account/components/header.js
  2. 6
      app/javascript/flavours/glitch/styles/components/accounts.scss

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

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

Loading…
Cancel
Save