Commit 3a941f2b authored by afc163's avatar afc163

Fix tag margin right

parent 7f96f609
......@@ -28,7 +28,7 @@ const data = [{
title: '标题',
description: '这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像',
datetime: moment('2017-08-07').fromNow(),
extra: <Tag color="red">标签</Tag>,
extra: <Tag color="red" style={{ marginRight: 0 }}>标签</Tag>,
}];
function onItemClick(item, tabProps) {
......
......@@ -186,7 +186,7 @@ class BasicLayout extends React.PureComponent {
urgent: 'red',
doing: 'gold',
})[newNotice.status];
newNotice.extra = <Tag color={color}>{newNotice.extra}</Tag>;
newNotice.extra = <Tag color={color} style={{ marginRight: 0 }}>{newNotice.extra}</Tag>;
}
return newNotice;
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment