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
A
ant-design-pro
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
ant-design-pro
Commits
ffc1e5a9
Commit
ffc1e5a9
authored
Oct 11, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NoticeList style
parent
848a8d95
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
src/components/NoticeIcon/NoticeList.js
src/components/NoticeIcon/NoticeList.js
+1
-0
src/components/NoticeIcon/NoticeList.less
src/components/NoticeIcon/NoticeList.less
+8
-0
src/layouts/BasicLayout.less
src/layouts/BasicLayout.less
+1
-1
No files found.
src/components/NoticeIcon/NoticeList.js
View file @
ffc1e5a9
...
@@ -22,6 +22,7 @@ export default function NoticeList({ data = [], onClick, onClear, title, locale
...
@@ -22,6 +22,7 @@ export default function NoticeList({ data = [], onClick, onClear, title, locale
return
(
return
(
<
List
.
Item
className
=
{
itemCls
}
key
=
{
item
.
key
||
i
}
onClick
=
{()
=>
onClick
(
item
)}
>
<
List
.
Item
className
=
{
itemCls
}
key
=
{
item
.
key
||
i
}
onClick
=
{()
=>
onClick
(
item
)}
>
<
List
.
Item
.
Meta
<
List
.
Item
.
Meta
className
=
{
styles
.
meta
}
avatar
=
{
item
.
avatar
?
<
Avatar
className
=
{
styles
.
avatar
}
src
=
{
item
.
avatar
}
/> : null
}
avatar
=
{
item
.
avatar
?
<
Avatar
className
=
{
styles
.
avatar
}
src
=
{
item
.
avatar
}
/> : null
}
title
=
{
title
=
{
<
div
>
<
div
>
...
...
src/components/NoticeIcon/NoticeList.less
View file @
ffc1e5a9
...
@@ -10,6 +10,14 @@
...
@@ -10,6 +10,14 @@
padding-left: 24px;
padding-left: 24px;
padding-right: 24px;
padding-right: 24px;
.meta {
width: 100%;
}
.avatar {
background: #fff;
}
&.read {
&.read {
opacity: .4;
opacity: .4;
}
}
...
...
src/layouts/BasicLayout.less
View file @
ffc1e5a9
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
transition: all .3s;
transition: all .3s;
height: 100%;
height: 100%;
> i {
> i {
font-size:
20
px;
font-size:
16
px;
vertical-align: middle;
vertical-align: middle;
}
}
&:global(.ant-popover-open),
&:global(.ant-popover-open),
...
...
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