mirror of
https://github.com/strapi/strapi.git
synced 2025-11-16 10:07:55 +00:00
Hover on rbac rows (#11102)
This commit is contained in:
parent
ffc348458e
commit
da73b5f52b
@ -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`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user