浏览代码

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

AlexiCauvin 7 年前
父节点
当前提交
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
 
91
 
92
         case 'password':
92
         case 'password':
93
           return <Password />
93
           return <Password />
94
-
95
       }
94
       }
96
     })()
95
     })()
97
 
96
 

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

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