1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: show environment reorder handle (#3990)

## About the changes
Handle icon for reordering environments was not showing up.

**Before:**

![image](https://github.com/Unleash/unleash/assets/2625371/977cdda4-6cf2-4acf-affc-f812907bb543)

**After**

![image](https://github.com/Unleash/unleash/assets/2625371/ce495682-5366-4d31-8f5d-1601949d5089)
This commit is contained in:
Tymoteusz Czech 2023-06-15 13:39:22 +02:00 committed by GitHub
parent 6e374be790
commit 06f9e71f39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ export const StrategyItemContainer: FC<IStrategyItemContainerProps> = ({
<DragIndicator
titleAccess="Drag to reorder"
cursor="grab"
sx={{ color: 'neutral.main' }}
sx={{ color: 'action.active' }}
/>
</DragIcon>
)}

View File

@ -10,14 +10,14 @@ const StyledCell = styled(Box)(({ theme }) => ({
justifyContent: 'flex-end',
paddingLeft: theme.spacing(0.5),
minWidth: theme.spacing(6.5),
cursor: 'grab',
}));
const DragIcon = styled(IconButton)(({ theme }) => ({
padding: theme.spacing(1.5, 0),
cursor: 'inherit',
transition: 'color 0.2s ease-in-out',
display: 'none',
color: theme.palette.neutral.main,
color: theme.palette.action.active,
}));
const StyledCloudCircle = styled(CloudCircle, {