mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-18 00:19:49 +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:
parent
72fd087fbf
commit
52a456a759
@ -36,10 +36,12 @@ const HeaderRow = styled('div')(({ theme }) => ({
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: theme.spacing(1.5),
|
gap: theme.spacing(1.5),
|
||||||
|
marginInlineEnd: theme.spacing(5), // to account for the close button
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const StyledProjectStatusSvg = styled(ProjectStatusSvg)(({ theme }) => ({
|
const StyledProjectStatusSvg = styled(ProjectStatusSvg)(({ theme }) => ({
|
||||||
fill: theme.palette.primary.main,
|
fill: theme.palette.primary.main,
|
||||||
|
flex: 'none',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const ModalHeader = styled('h3')(({ theme }) => ({
|
const ModalHeader = styled('h3')(({ theme }) => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user