mirror of
https://github.com/strapi/strapi.git
synced 2025-11-15 17:49:57 +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 RowLabelWithCheckbox from '../../RowLabelWithCheckbox';
|
||||||
import { getCheckboxState } from '../../utils';
|
import { getCheckboxState } from '../../utils';
|
||||||
import generateCheckboxesActions from './utils/generateCheckboxesActions';
|
import generateCheckboxesActions from './utils/generateCheckboxesActions';
|
||||||
|
import activeStyle from '../utils/activeStyle';
|
||||||
|
|
||||||
const activeRowStyle = (theme, isActive) => `
|
const activeRowStyle = (theme, isActive) => `
|
||||||
${Wrapper} {
|
${Wrapper} {
|
||||||
@ -31,6 +32,10 @@ const activeRowStyle = (theme, isActive) => `
|
|||||||
${ConditionsButton} {
|
${ConditionsButton} {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
&:hover {
|
||||||
|
${activeStyle(theme)}
|
||||||
|
}
|
||||||
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Wrapper = styled.div`
|
const Wrapper = styled.div`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user