File tree Expand file tree Collapse file tree
src/app/components/LearningMaterialsCard Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Learning Materials content height update.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const LearningMaterialsCard: FC<LearningMaterialsCardProps> = ({ children
1414 const { t } = useTranslation ( )
1515
1616 return (
17- < Card >
17+ < Card sx = { { display : 'flex' , flexDirection : 'column' } } >
1818 < div className = "flex justify-between mb-4" >
1919 < Typography variant = "h3" > { t ( 'learningMaterials.header' ) } </ Typography >
2020 < Link
@@ -27,7 +27,7 @@ export const LearningMaterialsCard: FC<LearningMaterialsCardProps> = ({ children
2727 { t ( 'common.viewAll' ) }
2828 </ Link >
2929 </ div >
30- < CardContent > { children } </ CardContent >
30+ < CardContent sx = { { flex : '1' , paddingBottom : '0!important' } } > { children } </ CardContent >
3131 </ Card >
3232 )
3333}
You can’t perform that action at this time.
0 commit comments