diff --git a/src/components/Trend/index.less b/src/components/Trend/index.less index 92985b26..47f39a30 100644 --- a/src/components/Trend/index.less +++ b/src/components/Trend/index.less @@ -6,9 +6,6 @@ font-size: @font-size-base; line-height: 22px; - & + & { - margin-left: 16px; - } .up, .down { margin-left: 4px; diff --git a/src/routes/Dashboard/Analysis.js b/src/routes/Dashboard/Analysis.js index 6f3c1423..f2c3ae47 100644 --- a/src/routes/Dashboard/Analysis.js +++ b/src/routes/Dashboard/Analysis.js @@ -228,16 +228,12 @@ export default class Analysis extends Component { footer={} contentHeight={46} > -
- - 周同比 - 12% - - - 日环比 - 11% - -
+ + 周同比12% + + + 日环比11% + @@ -279,14 +275,12 @@ export default class Analysis extends Component { total="78%" footer={
- - 周同比 - 12% - - - 日环比 - 11% - + + 周同比12% + + + 日环比11% +
} contentHeight={46} diff --git a/src/routes/Dashboard/Analysis.less b/src/routes/Dashboard/Analysis.less index 19897eaf..6ad7c2a0 100644 --- a/src/routes/Dashboard/Analysis.less +++ b/src/routes/Dashboard/Analysis.less @@ -134,7 +134,7 @@ th.alignRight { text-align: right!important; } -.trend { +.trendText { margin-left: 8px; color: @heading-color; }