Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ant-design-pro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thiago Borges
ant-design-pro
Commits
3a941f2b
Commit
3a941f2b
authored
Oct 31, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tag margin right
parent
7f96f609
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
popover.md
src/components/NoticeIcon/demo/popover.md
+1
-1
BasicLayout.js
src/layouts/BasicLayout.js
+1
-1
No files found.
src/components/NoticeIcon/demo/popover.md
View file @
3a941f2b
...
@@ -28,7 +28,7 @@ const data = [{
...
@@ -28,7 +28,7 @@ const data = [{
title: '标题',
title: '标题',
description: '这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像',
description: '这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像',
datetime: moment('2017-08-07').fromNow(),
datetime: moment('2017-08-07').fromNow(),
extra: <Tag color="red">标签</Tag>,
extra: <Tag color="red"
style={{ marginRight: 0 }}
>标签</Tag>,
}];
}];
function onItemClick(item, tabProps) {
function onItemClick(item, tabProps) {
...
...
src/layouts/BasicLayout.js
View file @
3a941f2b
...
@@ -186,7 +186,7 @@ class BasicLayout extends React.PureComponent {
...
@@ -186,7 +186,7 @@ class BasicLayout extends React.PureComponent {
urgent
:
'red'
,
urgent
:
'red'
,
doing
:
'gold'
,
doing
:
'gold'
,
})[
newNotice
.
status
];
})[
newNotice
.
status
];
newNotice
.
extra
=
<
Tag
color
=
{
color
}
>
{
newNotice
.
extra
}
<
/Tag>
;
newNotice
.
extra
=
<
Tag
color
=
{
color
}
style
=
{{
marginRight
:
0
}}
>
{
newNotice
.
extra
}
<
/Tag>
;
}
}
return
newNotice
;
return
newNotice
;
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment