浏览代码

correction of avatar size in dashboard, semantic correction in account.jsx file

AlexiCauvin 6 年前
父节点
当前提交
7a387ac409
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 0 1
      src/container/Account.jsx
  2. 3 2
      src/css/Dashboard.styl

+ 0 - 1
src/container/Account.jsx 查看文件

@@ -91,7 +91,6 @@ class Account extends React.Component {
91 91
 
92 92
         case 'password':
93 93
           return <Password />
94
-
95 94
       }
96 95
     })()
97 96
 

+ 3 - 2
src/css/Dashboard.styl 查看文件

@@ -181,8 +181,9 @@ coloricon()
181 181
             background-color folder-hover
182 182
         &__avatar
183 183
           margin-right 20px
184
-          width 50px
185
-          height 50px
184
+          & > img
185
+            width 50px
186
+            height 50px
186 187
         &__info
187 188
           &__name
188 189
             font-size 20px