diff --git a/src/routes/Dashboard/Workplace.js b/src/routes/Dashboard/Workplace.js index 40161a8ac396a4b2c5b418ed29890777cd314436..3e964250ec61c90afdacd30193388e28f79f3f92 100644 --- a/src/routes/Dashboard/Workplace.js +++ b/src/routes/Dashboard/Workplace.js @@ -184,7 +184,11 @@ export default class Workplace extends PureComponent { } - title={

{item.user.name} 在 xx 新建了项目 xxxx

} + title={ +

+ {item.user.name}xx 新建了项目 xxxx +

+ } description={moment(item.updatedAt).fromNow()} />
diff --git a/src/routes/Dashboard/Workplace.less b/src/routes/Dashboard/Workplace.less index 119906952098e1ba5803a124a601c4db7e39bc78..0e4f0089e2bd01acbdffbf48106dbf869c7798d1 100644 --- a/src/routes/Dashboard/Workplace.less +++ b/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;