1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

refactor: Information tooltip instances (#6375)

This commit is contained in:
Mateusz Kwasniewski 2024-02-28 12:26:15 +01:00 committed by GitHub
parent 7af7b32bd5
commit 2bf46d9369
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,6 +50,8 @@ const StyledEnvironmentBox = styled(Box)<{
theme.palette[mode === 'success' ? 'secondary' : 'warning'].light, theme.palette[mode === 'success' ? 'secondary' : 'warning'].light,
display: 'inline-block', display: 'inline-block',
padding: theme.spacing(1.5, 1.5, 1.5, 1.5), padding: theme.spacing(1.5, 1.5, 1.5, 1.5),
zIndex: 1,
opacity: 0.9,
})); }));
const StyledDivider = styled(Divider)(({ theme }) => ({ const StyledDivider = styled(Divider)(({ theme }) => ({
@ -60,8 +62,9 @@ const StyledDivider = styled(Divider)(({ theme }) => ({
const StyledEnvironmentsContainer = styled(Box)({ const StyledEnvironmentsContainer = styled(Box)({
display: 'flex', display: 'flex',
justifyContent: 'start', justifyContent: 'center',
gap: '20px', flexWrap: 'wrap',
gap: '60px 20px',
}); });
const EnvironmentHeader = styled(Typography)(({ theme }) => ({ const EnvironmentHeader = styled(Typography)(({ theme }) => ({