mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-09 11:14:29 +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:
parent
0ee1c90fa2
commit
f6ab7460c6
@ -73,6 +73,7 @@ const InlineList = styled('ul')(({ theme }) => ({
|
|||||||
|
|
||||||
const ChangeInnerBox = styled(Box)(({ theme }) => ({
|
const ChangeInnerBox = styled(Box)(({ theme }) => ({
|
||||||
padding: theme.spacing(3),
|
padding: theme.spacing(3),
|
||||||
|
// todo: remove with flag crDiffView
|
||||||
'&:has(.delete-strategy-information-wrapper)': {
|
'&:has(.delete-strategy-information-wrapper)': {
|
||||||
backgroundColor: theme.palette.error.light,
|
backgroundColor: theme.palette.error.light,
|
||||||
},
|
},
|
||||||
|
@ -141,7 +141,7 @@ const DeleteStrategy: FC<{
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ChangeItemCreateEditDeleteWrapper className='delete-strategy-information-wrapper'>
|
<ChangeItemCreateEditDeleteWrapper>
|
||||||
<ChangeItemInfo>
|
<ChangeItemInfo>
|
||||||
<Typography
|
<Typography
|
||||||
sx={(theme) => ({
|
sx={(theme) => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user