Skip to content

Commit 1f713a3

Browse files
authored
Merge pull request #2205 from oasisprotocol/kaja/paratime-learning-materials
Learning Materials content height
2 parents 58ed5ae + 6e677ba commit 1f713a3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.changelog/2205.bugfix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Learning Materials content height update.

src/app/components/LearningMaterialsCard/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)