Hover on rbac rows (#11102)

This commit is contained in:
Marvin Frachet 2021-09-29 09:45:39 +02:00 committed by GitHub
parent ffc348458e
commit da73b5f52b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ import { cellWidth, rowHeight } from '../../Permissions/utils/constants';
import RowLabelWithCheckbox from '../../RowLabelWithCheckbox';
import { getCheckboxState } from '../../utils';
import generateCheckboxesActions from './utils/generateCheckboxesActions';
import activeStyle from '../utils/activeStyle';
const activeRowStyle = (theme, isActive) => `
${Wrapper} {
@ -31,6 +32,10 @@ const activeRowStyle = (theme, isActive) => `
${ConditionsButton} {
display: block;
}
&:hover {
${activeStyle(theme)}
}
`;
const Wrapper = styled.div`