feat: downsize flow app icons
This commit is contained in:
@@ -21,7 +21,7 @@ export default function FlowAppIcons(props: FlowAppIconsProps) {
|
|||||||
name=" "
|
name=" "
|
||||||
variant="rounded"
|
variant="rounded"
|
||||||
url={firstStep.iconUrl}
|
url={firstStep.iconUrl}
|
||||||
imgProps={{ width: 30, height: 30}}
|
sx={{ width: 30, height: 30 }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{intermeaditeStepCount > 0 && <IntermediateStepCount count={intermeaditeStepCount} />}
|
{intermeaditeStepCount > 0 && <IntermediateStepCount count={intermeaditeStepCount} />}
|
||||||
@@ -30,6 +30,7 @@ export default function FlowAppIcons(props: FlowAppIconsProps) {
|
|||||||
name=" "
|
name=" "
|
||||||
variant="rounded"
|
variant="rounded"
|
||||||
url={lastStep.iconUrl}
|
url={lastStep.iconUrl}
|
||||||
|
sx={{ width: 30, height: 30 }}
|
||||||
/>}
|
/>}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
@@ -7,7 +7,7 @@ import MuiTypography from '@mui/material/Typography';
|
|||||||
export const CardContent = styled(MuiCardContent)(({ theme }) => ({
|
export const CardContent = styled(MuiCardContent)(({ theme }) => ({
|
||||||
display: 'grid',
|
display: 'grid',
|
||||||
gridTemplateRows: 'auto',
|
gridTemplateRows: 'auto',
|
||||||
gridTemplateColumns: 'calc(50px * 3 + 8px * 2) minmax(0, auto) min-content',
|
gridTemplateColumns: 'calc(30px * 3 + 8px * 2) minmax(0, auto) min-content',
|
||||||
gridGap: theme.spacing(2),
|
gridGap: theme.spacing(2),
|
||||||
gridTemplateAreas: `
|
gridTemplateAreas: `
|
||||||
"apps title menu"
|
"apps title menu"
|
||||||
|
@@ -5,8 +5,8 @@ export const Container = styled('div')(({ theme }) => ({
|
|||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
minWidth: 50,
|
minWidth: 30,
|
||||||
height: 50,
|
height: 30,
|
||||||
border: `1px solid ${theme.palette.text.disabled}`,
|
border: `1px solid ${theme.palette.text.disabled}`,
|
||||||
borderRadius: theme.shape.borderRadius,
|
borderRadius: theme.shape.borderRadius,
|
||||||
}));
|
}));
|
||||||
|
Reference in New Issue
Block a user