Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions webpack/InsightsHostDetailsTab/InsightsTab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,7 @@
#new_host_details_insights_tab {
padding: 24px;
}

#total-risks-dropdown-container ul.pf-v5-c-menu__list {
margin-bottom: 0px;
}
4 changes: 2 additions & 2 deletions webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import PropTypes from 'prop-types';
import { useDispatch } from 'react-redux';
import { push } from 'connected-react-router';
import { useHistory } from 'react-router-dom';
import { Bullseye, Title } from '@patternfly/react-core';
import { DropdownItem } from '@patternfly/react-core/deprecated';
import { Bullseye, DropdownItem, Title } from '@patternfly/react-core';
import {
ChartDonut,
ChartLegend,
Expand Down Expand Up @@ -127,6 +126,7 @@ const InsightsTotalRiskCard = ({ hostDetails: { id } }) => {
return (
<CardTemplate
header={__('Total risks')}
overrideDropdownProps={{ id: 'total-risks-dropdown-container' }}
dropdownItems={[
<DropdownItem
key="insights-tab"
Expand Down