Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
pro-blocks
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
src/components/NoticeIcon/demo/popover.md
src/components/NoticeIcon/demo/popover.md
+1
-1
src/layouts/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 = [{
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
)
{
...
...
src/layouts/BasicLayout.js
View file @
3a941f2b
...
...
@@ -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
;
});
...
...
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