Selaa lähdekoodia

💄 UI: Fix an issue with an abnormal loading location

close #6086
chenshuai2144 6 vuotta sitten
vanhempi
commit
c2f6664434
1 muutettua tiedostoa jossa 9 lisäystä ja 7 poistoa
  1. 9 7
      src/components/GlobalHeader/AvatarDropdown.tsx

+ 9 - 7
src/components/GlobalHeader/AvatarDropdown.tsx

@@ -71,13 +71,15 @@ class AvatarDropdown extends React.Component<GlobalHeaderRightProps> {
         </span>
       </HeaderDropdown>
     ) : (
-      <Spin
-        size="small"
-        style={{
-          marginLeft: 8,
-          marginRight: 8,
-        }}
-      />
+      <span className={`${styles.action} ${styles.account}`}>
+        <Spin
+          size="small"
+          style={{
+            marginLeft: 8,
+            marginRight: 8,
+          }}
+        />
+      </span>
     );
   }
 }