mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02:00
fix: show environment reorder handle (#3990)
## About the changes Handle icon for reordering environments was not showing up. **Before:**  **After** 
This commit is contained in:
parent
6e374be790
commit
06f9e71f39
@ -134,7 +134,7 @@ export const StrategyItemContainer: FC<IStrategyItemContainerProps> = ({
|
|||||||
<DragIndicator
|
<DragIndicator
|
||||||
titleAccess="Drag to reorder"
|
titleAccess="Drag to reorder"
|
||||||
cursor="grab"
|
cursor="grab"
|
||||||
sx={{ color: 'neutral.main' }}
|
sx={{ color: 'action.active' }}
|
||||||
/>
|
/>
|
||||||
</DragIcon>
|
</DragIcon>
|
||||||
)}
|
)}
|
||||||
|
@ -10,14 +10,14 @@ const StyledCell = styled(Box)(({ theme }) => ({
|
|||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
paddingLeft: theme.spacing(0.5),
|
paddingLeft: theme.spacing(0.5),
|
||||||
minWidth: theme.spacing(6.5),
|
minWidth: theme.spacing(6.5),
|
||||||
|
cursor: 'grab',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const DragIcon = styled(IconButton)(({ theme }) => ({
|
const DragIcon = styled(IconButton)(({ theme }) => ({
|
||||||
padding: theme.spacing(1.5, 0),
|
padding: theme.spacing(1.5, 0),
|
||||||
cursor: 'inherit',
|
cursor: 'inherit',
|
||||||
transition: 'color 0.2s ease-in-out',
|
transition: 'color 0.2s ease-in-out',
|
||||||
display: 'none',
|
color: theme.palette.action.active,
|
||||||
color: theme.palette.neutral.main,
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const StyledCloudCircle = styled(CloudCircle, {
|
const StyledCloudCircle = styled(CloudCircle, {
|
||||||
|
Loading…
Reference in New Issue
Block a user