浏览代码

fix style inside of dropdown temporary

kaori 4 年之前
父节点
当前提交
4b3f4274b8
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      packages/app/src/components/InAppNotification/InAppNotificationDropdown.tsx

+ 3 - 1
packages/app/src/components/InAppNotification/InAppNotificationDropdown.tsx

@@ -133,7 +133,9 @@ const InAppNotificationDropdown: FC<Props> = (props: Props) => {
     }
     const notificationList = notifications.map((notification: IInAppNotification) => {
       return (
-        <InAppNotification key={notification._id} notification={notification} onClick={notificationClickHandler} />
+        <div className="my-2">
+          <InAppNotification key={notification._id} notification={notification} onClick={notificationClickHandler} />
+        </div>
       );
     });
     return <>{notificationList}</>;