Sfoglia il codice sorgente

Fix feed link color

afc163 8 anni fa
parent
commit
7e69f3c975
2 ha cambiato i file con 5 aggiunte e 10 eliminazioni
  1. 5 1
      src/routes/Dashboard/Workplace.js
  2. 0 9
      src/routes/Dashboard/Workplace.less

+ 5 - 1
src/routes/Dashboard/Workplace.js

@@ -184,7 +184,11 @@ export default class Workplace extends PureComponent {
                       <List.Item key={item.id}>
                         <List.Item.Meta
                           avatar={<Avatar style={{ marginTop: -12 }} src={item.user.avatar} />}
-                          title={<p>{item.user.name} 在 <a>xx</a> 新建了项目 <a>xxxx</a></p>}
+                          title={
+                            <p>
+                              <a>{item.user.name}</a> 在 <a>xx</a> 新建了项目 <a>xxxx</a>
+                            </p>
+                          }
                           description={moment(item.updatedAt).fromNow()}
                         />
                       </List.Item>

+ 0 - 9
src/routes/Dashboard/Workplace.less

@@ -109,15 +109,6 @@
 
 .projectList {
   :global {
-    .ant-card-meta-title {
-      font-size: 14px;
-      a {
-        color: @heading-color;
-        &:hover {
-          color: @primary-color;
-        }
-      }
-    }
     .ant-card-meta-description {
       font-size: 12px;
       min-height: 36px;