]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Move the account dropdown menubar to the right, make sure it doesn't move
authorThibG <thib@sitedethib.com>
Tue, 26 Mar 2019 22:05:21 +0000 (23:05 +0100)
committerThibG <thib@sitedethib.com>
Thu, 28 Mar 2019 18:56:40 +0000 (19:56 +0100)
Port a91acf79b53307ada584f449da1369c0216a24d1 to glitch-soc

app/javascript/flavours/glitch/features/account/components/header.js
app/javascript/flavours/glitch/styles/components/accounts.scss

index fa36e70b59ff26935d98dc7266300c75498714c4..4acaef26be935d01a91503ed2d4518fe616c074b 100644 (file)
@@ -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>
 
index be82bdab3d1c0f8a4ccc70a15de0f19f87962feb..1039a746b7b77cddcaf4727559a8dcf3680494f1 100644 (file)
     .avatar {
       display: block;
       flex: 0 0 auto;
-      width: 90px;
+      width: 94px;
       margin-left: -2px;
 
       .account__avatar {
       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;
       }
     }