A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix(Notifications): Adjust the border color of the list-group-item to default
haitao(lj)dc3767954619
diff --git a/ui/src/pages/Users/Notifications/components/Achievements/index.tsx b/ui/src/pages/Users/Notifications/components/Achievements/index.tsxindex 54bd4cdb..0fdb119d 100644--- a/ui/src/pages/Users/Notifications/components/Achievements/index.tsx+++ b/ui/src/pages/Users/Notifications/components/Achievements/index.tsx@@ -16,9 +16,7 @@ const Achievements = ({ data, handleReadNotification }) => {return <Empty />;}return (- <ListGroup- className="border-top border-bottom achievement-wrap"- variant="flush">+ <ListGroup className="achievement-wrap rounded-0">{data.map((item) => {const { comment, question, answer } =item?.object_info?.object_map || {};@@ -39,7 +37,10 @@ const Achievements = ({ data, handleReadNotification }) => {return (<ListGroup.Itemkey={item.id}- className={classNames('d-flex', !item.is_read && 'warning')}>+ className={classNames(+ 'd-flex border-start-0 border-end-0',+ !item.is_read && 'warning',+ )}>{item.rank > 0 && (<div className="text-success num text-end">{`+${item.rank}`}</div>)}diff --git a/ui/src/pages/Users/Notifications/components/Inbox/index.tsx b/ui/src/pages/Users/Notifications/components/Inbox/index.tsxindex 68739b0c..aafaea5a 100644--- a/ui/src/pages/Users/Notifications/components/Inbox/index.tsx+++ b/ui/src/pages/Users/Notifications/components/Inbox/index.tsx@@ -14,7 +14,7 @@ const Inbox = ({ data, handleReadNotification }) => {return <Empty />;}return (- <ListGroup className="border-top border-bottom" variant="flush">+ <ListGroup className="rounded-0">{data.map((item) => {const { comment, question, answer } =item?.object_info?.object_map || {};@@ -35,7 +35,10 @@ const Inbox = ({ data, handleReadNotification }) => {return (<ListGroup.Itemkey={item.id}- className={classNames('py-3', !item.is_read && 'warning')}>+ className={classNames(+ 'py-3 border-start-0 border-end-0',+ !item.is_read && 'warning',+ )}><div>{item.user_info.status !== 'deleted' ? (<Link to={`/users/${item.user_info.username}`}>