瀏覽代碼

Merge pull request #4708 from weseek/imprv/81863-notification-view

improve: notification view
Yuki Takei 4 年之前
父節點
當前提交
477de628db
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

+ 1 - 1
packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

@@ -94,7 +94,7 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
   return (
     <div className="dropdown-item d-flex flex-row mb-3">
       <div className="p-2 mr-2 d-flex align-items-center">
-        <span className={`${notification.status === 'UNOPENED' && 'grw-unopend-notification'} rounded-circle mr-3`}></span>
+        <span className={`${notification.status === 'UNOPENED' ? 'grw-unopend-notification' : 'ml-2'} rounded-circle mr-3`}></span>
         {renderActionUserPictures()}
       </div>
       <div className="p-2">