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

chore: improve the release plan template accordion looks (#9065)

This commit is contained in:
David Leek 2025-01-08 10:25:07 +01:00 committed by GitHub
parent 893f7834ad
commit 55f7de0d59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View File

@ -71,9 +71,14 @@ const StyledAccordion = styled(Accordion)(({ theme }) => ({
const StyledAccordionSummary = styled(AccordionSummary)(({ theme }) => ({ const StyledAccordionSummary = styled(AccordionSummary)(({ theme }) => ({
boxShadow: 'none', boxShadow: 'none',
padding: theme.spacing(1.5, 2), padding: theme.spacing(1.5, 2),
borderRadius: theme.shape.borderRadiusMedium,
[theme.breakpoints.down(400)]: { [theme.breakpoints.down(400)]: {
padding: theme.spacing(1, 2), padding: theme.spacing(1, 2),
}, },
'&.Mui-focusVisible': {
backgroundColor: theme.palette.background.paper,
padding: theme.spacing(0.5, 2, 0.3, 2),
},
})); }));
const StyledAccordionDetails = styled(AccordionDetails)(({ theme }) => ({ const StyledAccordionDetails = styled(AccordionDetails)(({ theme }) => ({

View File

@ -57,6 +57,10 @@ export const MilestoneCardName = ({
setEditMode(false); setEditMode(false);
} }
}} }}
onClick={(ev) => {
ev.preventDefault();
ev.stopPropagation();
}}
/> />
)} )}
{!editMode && ( {!editMode && (