From ffc1e5a98e919e461eb29da22b092a030104686d Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 11 Oct 2017 16:19:15 +0800 Subject: [PATCH] Fix NoticeList style --- src/components/NoticeIcon/NoticeList.js | 1 + src/components/NoticeIcon/NoticeList.less | 8 ++++++++ src/layouts/BasicLayout.less | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/NoticeIcon/NoticeList.js b/src/components/NoticeIcon/NoticeList.js index e8383313..a6a56354 100644 --- a/src/components/NoticeIcon/NoticeList.js +++ b/src/components/NoticeIcon/NoticeList.js @@ -22,6 +22,7 @@ export default function NoticeList({ data = [], onClick, onClear, title, locale return ( onClick(item)}> : null} title={
diff --git a/src/components/NoticeIcon/NoticeList.less b/src/components/NoticeIcon/NoticeList.less index 8f96643b..a6be1d67 100644 --- a/src/components/NoticeIcon/NoticeList.less +++ b/src/components/NoticeIcon/NoticeList.less @@ -10,6 +10,14 @@ padding-left: 24px; padding-right: 24px; + .meta { + width: 100%; + } + + .avatar { + background: #fff; + } + &.read { opacity: .4; } diff --git a/src/layouts/BasicLayout.less b/src/layouts/BasicLayout.less index 72d722ef..0e3c0dd1 100644 --- a/src/layouts/BasicLayout.less +++ b/src/layouts/BasicLayout.less @@ -58,7 +58,7 @@ transition: all .3s; height: 100%; > i { - font-size: 20px; + font-size: 16px; vertical-align: middle; } &:global(.ant-popover-open), -- GitLab