Commit ffc1e5a9 authored by afc163's avatar afc163

Fix NoticeList style

parent 848a8d95
...@@ -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>
......
...@@ -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;
} }
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
transition: all .3s; transition: all .3s;
height: 100%; height: 100%;
> i { > i {
font-size: 20px; font-size: 16px;
vertical-align: middle; vertical-align: middle;
} }
&:global(.ant-popover-open), &:global(.ant-popover-open),
......
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