Skip to content

Commit

Permalink
EPMRPP-79331 || Donut color fix (#3275)
Browse files Browse the repository at this point in the history
Co-authored-by: Artsiom Sadouski <artsiom_sadouski@epam.com>
  • Loading branch information
tr1ble and tr1ble authored Sep 27, 2022
1 parent 3b4e9fb commit be969ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import PropTypes from 'prop-types';
import { defectColorsSelector } from 'controllers/project';
import { DefectTypeTooltip } from 'pages/inside/common/defectTypeTooltip';
import { withHoverableTooltip } from 'components/main/tooltips/hoverableTooltip';
import { TO_INVESTIGATE } from 'common/constants/defectTypes';
import { DefectLink } from 'pages/inside/common/defectLink';
import styles from './donutChart.scss';

Expand Down Expand Up @@ -157,10 +156,7 @@ export class DonutChart extends Component {
))}
</svg>
</div>
<div
className={cx('total', { 'total-to-investigate': type === TO_INVESTIGATE })}
style={{ borderColor: this.props.defectColors[type] }}
>
<div className={cx('total')} style={{ borderColor: this.props.defectColors[type] }}>
{data.total}
</div>
</DefectLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
line-height: 18px;
word-break: keep-all;
}
.total-to-investigate {
background-color: $COLOR--to-investigate-counter;
color: $COLOR--white;
border-color: $COLOR--white !important;
}
.chart-container {
height: 56px;
width: 56px;
Expand Down

0 comments on commit be969ee

Please sign in to comment.