Skip to content
Snippets Groups Projects
Commit f1d37487 authored by Evelyn Eastmond's avatar Evelyn Eastmond
Browse files

Removing highlight when hovering over alert close button after one closes,...

Removing highlight when hovering over alert close button after one closes, other minor styling fixes.
parent 1077dd6a
Branches
Tags
No related merge requests found
......@@ -32,4 +32,5 @@
.alert-close-button {
margin-top: 7px;
margin-right: 4px;
outline-style:none;
}
......@@ -30,7 +30,7 @@ const AlertComponent = ({
</div>
<CloseButton
className={styles.alertCloseButton}
color={'orange'}
color={CloseButton.COLOR_ORANGE}
size={CloseButton.SIZE_LARGE}
onClick={onCloseAlert}
/>
......
......@@ -12,14 +12,11 @@ class Alert extends React.Component {
]);
}
handleOnCloseAlert () {
console.log('prop to close: ');
console.log(this.props.index);
this.props.onCloseAlert(this.props.index);
}
render () {
const {
index, // eslint-disable-line no-unused-vars
onCloseAlert,
iconURL,
message
} = this.props;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment