1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-04 13:48:56 +02:00

Remove the red coloration of deleted strategy change boxes (#10246)

We don't want deleted strategies to have the red background color
anymore with the new change/diff view. As such, we can remove it in the
new component and add a todo to delete the css for it after it's gone.

<img width="1050" alt="image"
src="https://github.com/user-attachments/assets/083cbcac-5df9-47cd-bd78-2501c3bbf64e"
/>
This commit is contained in:
Thomas Heartman 2025-06-30 14:56:15 +02:00 committed by GitHub
parent 0ee1c90fa2
commit f6ab7460c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@ const InlineList = styled('ul')(({ theme }) => ({
const ChangeInnerBox = styled(Box)(({ theme }) => ({
padding: theme.spacing(3),
// todo: remove with flag crDiffView
'&:has(.delete-strategy-information-wrapper)': {
backgroundColor: theme.palette.error.light,
},

View File

@ -141,7 +141,7 @@ const DeleteStrategy: FC<{
return (
<>
<ChangeItemCreateEditDeleteWrapper className='delete-strategy-information-wrapper'>
<ChangeItemCreateEditDeleteWrapper>
<ChangeItemInfo>
<Typography
sx={(theme) => ({