kaori 4 лет назад
Родитель
Сommit
d47aecf27f

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

@@ -154,7 +154,7 @@ const InAppNotificationDropdown: FC<Props> = (props: Props) => {
           <i className="icon-bell mr-2" /> {badge}
         </button>
       </DropdownToggle>
-      <DropdownMenu className="grw-in-app-notification-dropdown-menu px-2" right>
+      <DropdownMenu className="px-2" right>
         <InAppNotificationContents />
         <DropdownItem divider />
         {/* TODO: Able to show all notifications by #79317 */}

+ 1 - 1
packages/app/src/components/Navbar/GrowiNavbar.jsx

@@ -28,7 +28,7 @@ class GrowiNavbar extends React.Component {
 
     return (
       <>
-        <li className="grw-in-app-notification-dropdown nav-item dropdown dropdown-toggle dropdown-toggle-no-caret">
+        <li className="nav-item dropdown dropdown-toggle dropdown-toggle-no-caret">
           <InAppNotificationDropdown />
         </li>
 

+ 0 - 5
packages/app/src/styles/_in-app-notification.scss

@@ -1,5 +0,0 @@
-.grw-in-app-notification-dropdown {
-  .grw-in-app-notification-dropdown-menu {
-    width: 300px;
-  }
-}

+ 0 - 1
packages/app/src/styles/style-app.scss

@@ -43,7 +43,6 @@
 @import 'editor-navbar';
 @import 'page-content-footer';
 @import 'handsontable';
-@import 'in-app-notification';
 @import 'layout';
 @import 'login';
 @import 'me';