1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: fix status sidebar top padding (#8817)

This PR improves handling of very narrow screens for the project status
header:
- Add a right margin so that it won't overlap with the close button.
- Make it so the icon in the header doesn't shrink.
This commit is contained in:
Thomas Heartman 2024-11-21 11:30:37 +01:00 committed by GitHub
parent 72fd087fbf
commit 52a456a759
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,10 +36,12 @@ const HeaderRow = styled('div')(({ theme }) => ({
display: 'flex',
alignItems: 'center',
gap: theme.spacing(1.5),
marginInlineEnd: theme.spacing(5), // to account for the close button
}));
const StyledProjectStatusSvg = styled(ProjectStatusSvg)(({ theme }) => ({
fill: theme.palette.primary.main,
flex: 'none',
}));
const ModalHeader = styled('h3')(({ theme }) => ({