Add color to links in info inputs

pull/1938/head
Bogdan 6 months ago
parent 81e9c29d54
commit b66a85269f

@ -0,0 +1,13 @@
.message {
composes: alert from '~Components/Alert.css';
a {
color: var(--linkColor);
text-decoration: none;
&:hover {
color: var(--linkHoverColor);
text-decoration: underline;
}
}
}

@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
import React, { Component } from 'react';
import Alert from 'Components/Alert';
import { kinds } from 'Helpers/Props';
import styles from './InfoInput.css';
class InfoInput extends Component {
@ -12,7 +13,10 @@ class InfoInput extends Component {
const { value } = this.props;
return (
<Alert kind={kinds.INFO}>
<Alert
kind={kinds.INFO}
className={styles.message}
>
<span dangerouslySetInnerHTML={{ __html: value }} />
</Alert>
);

Loading…
Cancel
Save