]> cat aescling's git repositories - mastodon.git/commitdiff
Move the account dropdown menubar to the right, make sure it doesn't move (#10390)
authorThibG <thib@sitedethib.com>
Tue, 26 Mar 2019 22:05:21 +0000 (23:05 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 26 Mar 2019 22:05:21 +0000 (23:05 +0100)
* Move the account dropdown menubar to the right, make sure it doesn't move

* Fix margin

app/javascript/mastodon/features/account/components/header.js
app/javascript/styles/mastodon/components.scss

index fd7ad5e07d1a6334306c613ca1930bec14cc19f1..0a3345f0edea9e889b9eb75bef73ef5968726ef3 100644 (file)
@@ -219,9 +219,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 3feb6233137b92648d2efaec2ff3d36029fb0699..f63c66d4628a35c4df776f5d347a0790c3a47775 100644 (file)
@@ -5300,7 +5300,7 @@ noscript {
     .avatar {
       display: block;
       flex: 0 0 auto;
-      width: 90px;
+      width: 94px;
       margin-left: -2px;
 
       .account__avatar {
@@ -5319,12 +5319,16 @@ noscript {
       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;
       }
     }