1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-26 01:17:00 +02:00

feat: archived tooltip alignment (#8820)

From


![image](https://github.com/user-attachments/assets/168cd7ef-6976-47a3-9d2b-e12e45161039)


To


![image](https://github.com/user-attachments/assets/2c2c9593-7079-40b7-ab32-0f9d21c0f9e2)

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
This commit is contained in:
Jaanus Sellin 2024-11-21 14:12:14 +02:00 committed by GitHub
parent c927c6f32b
commit b72ce90102
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -243,6 +243,14 @@ const PreLiveStageDescription: FC<{ children?: React.ReactNode }> = ({
);
};
const ArchivedStageDescription = () => {
return (
<InfoText>
Your feature has been archived, it is now safe to delete it.
</InfoText>
);
};
const BoldTitle = styled(Typography)(({ theme }) => ({
marginTop: theme.spacing(1),
marginBottom: theme.spacing(1),
@ -513,6 +521,7 @@ export const FeatureLifecycleTooltip: FC<{
<Environments environments={stage.environments} />
</CompletedStageDescription>
)}
{stage.name === 'archived' && <ArchivedStageDescription />}
</ColorFill>
</Box>
}