diff --git a/frontend/src/components/common/notification-popover/index.css b/frontend/src/components/common/notification-popover/index.css index 405bc41abd..119cac9f55 100644 --- a/frontend/src/components/common/notification-popover/index.css +++ b/frontend/src/components/common/notification-popover/index.css @@ -29,20 +29,9 @@ position: relative; } -.notification-container .notification-header .notification-close-icon { +.notification-container .notification-header .seahub-modal-btn { position: absolute; right: 14px; - height: 24px; - width: 24px; - text-align: center; - cursor: pointer; - color: #000; - opacity: 0.5; - font-weight: 700; -} - -.notification-container .notification-header .notification-close-icon:hover { - opacity: 0.75; } .notification-container .notification-body { diff --git a/frontend/src/components/common/notification-popover/index.js b/frontend/src/components/common/notification-popover/index.js index 1c0099ad6c..b9d864bbf1 100644 --- a/frontend/src/components/common/notification-popover/index.js +++ b/frontend/src/components/common/notification-popover/index.js @@ -2,6 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { Popover } from 'reactstrap'; import { gettext } from '../../../utils/constants'; +import SeahubModalCloseIcon from '../seahub-modal-close'; import './index.css'; @@ -48,9 +49,9 @@ class NotificationPopover extends React.Component { placement="bottom" >