fix: broken typography styles

This commit is contained in:
Hossein Mehrabi 2023-12-06 11:11:20 +03:30
parent b08c0f6733
commit d701604586
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
1 changed files with 4 additions and 4 deletions

View File

@ -182,9 +182,9 @@ PostCard.styles = {
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
max-height: calc(2 * var(--lsd-h6-lineHeight)); max-height: calc(2 * var(--lsd-h5-lineHeight));
${lsdUtils.typography('h6')} ${lsdUtils.typography('h5')}
} }
.post-card__subtitle { .post-card__subtitle {
@ -234,7 +234,7 @@ PostCard.styles = {
`, `,
xsmall: (theme: Theme) => css` xsmall: (theme: Theme) => css`
.post-card__title-text { .post-card__title-text {
${lsdUtils.typography('h6')} ${lsdUtils.typography('h5')}
} }
${lsdUtils.breakpoint(theme, 'md', 'down')} { ${lsdUtils.breakpoint(theme, 'md', 'down')} {
@ -245,7 +245,7 @@ PostCard.styles = {
`, `,
small: (theme: Theme) => css` small: (theme: Theme) => css`
.post-card__title-text { .post-card__title-text {
${lsdUtils.typography('h5')} ${lsdUtils.typography('h4')}
} }
.post-card__subtitle { .post-card__subtitle {