Skip to content

Commit d1ec9db

Browse files
change notification popover icon style
1 parent 31b57cb commit d1ec9db

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

src/NotificationPopover/index.css

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,9 @@
2323
position: relative;
2424
}
2525

26-
.notification-container .notification-header .notification-close-icon {
26+
.notification-container .notification-header .seatable-icon-btn {
2727
position: absolute;
2828
right: 14px;
29-
height: 24px;
30-
width: 24px;
31-
text-align: center;
32-
cursor: pointer;
33-
color: #000;
34-
opacity: 0.5;
35-
font-weight: 700;
36-
}
37-
38-
.notification-container .notification-header .notification-close-icon:hover {
39-
opacity: 0.75;
4029
}
4130

4231
.notification-container .notification-body {

src/NotificationPopover/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33
import { Popover } from 'reactstrap';
4+
import IconButton from '../IconButton';
5+
46
import './index.css';
57

68
export default class NotificationPopover extends React.Component {
@@ -72,7 +74,7 @@ export default class NotificationPopover extends React.Component {
7274
<div className="notification-container" ref={ref => this.notificationContainerRef = ref}>
7375
<div className="notification-header">
7476
{headerText}
75-
<span className="dtable-font dtable-icon-x notification-close-icon" onClick={this.props.onNotificationListToggle}></span>
77+
<IconButton icon="x" onClick={this.props.onNotificationListToggle} />
7678
</div>
7779
<div className="notification-body">
7880
{this.props.enableWeixin &&

0 commit comments

Comments
 (0)