ryoji-s 3 лет назад
Родитель
Сommit
d753fe7765

+ 1 - 2
packages/app/src/components/InAppNotification/PageNotification/PageModelNotification.tsx

@@ -25,7 +25,6 @@ const PageModelNotification: ForwardRefRenderFunction<IInAppNotificationOpenable
   } = props;
 
   const snapshot = parseSnapshot(notification.snapshot);
-  // const addtionalClassName = ['text-truncate'];
 
   // publish open()
   useImperativeHandle(ref, () => ({
@@ -41,7 +40,7 @@ const PageModelNotification: ForwardRefRenderFunction<IInAppNotificationOpenable
   }));
 
   return (
-    <div className="p-2 pr-5 grw-dropdown-notification-list-width">
+    <div className="p-2 overflow-hidden">
       <div className="text-truncate">
         <b>{actionUsers}</b> {actionMsg} <PagePathLabel path={snapshot.path} />
       </div>

+ 0 - 3
packages/app/src/styles/molecules/copy-dropdown.scss

@@ -22,7 +22,4 @@
 
 .grw-dropdown-notification-width {
   max-width: 70vw;
-  .grw-dropdown-notification-list-width {
-    max-width: 100%;
-  }
 }