fix: fix the post title's font size in the search page; refs #180

This commit is contained in:
Hossein Mehrabi 2023-09-05 18:52:58 +03:30
parent f7a39ed5fc
commit 018965c572
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
1 changed files with 13 additions and 13 deletions

View File

@ -424,6 +424,10 @@ PostCard.styles = {
margin-top: 8px;
}
.post-card__title-text {
${lsdUtils.typography('h4')}
}
.post-card__subtitle {
margin-top: 8px;
@ -454,10 +458,6 @@ PostCard.styles = {
align-self: end;
}
.post-card__title-text {
${lsdUtils.typography('h6')}
}
.post-card__cover-image button {
display: none;
}
@ -476,14 +476,6 @@ PostCard.styles = {
'info info info info info info info info' !important;
}
${lsdUtils.breakpoint(theme, 'sm', 'down')} {
&.post-card__article {
.post-card__subtitle {
display: none;
}
}
}
${lsdUtils.breakpoint(theme, 'md', 'down')} {
grid-template-columns: repeat(8, 1fr);
grid-template-areas:
@ -492,9 +484,17 @@ PostCard.styles = {
'info info info info info image image image'
'info info info info info image image image'
'. . . . . image image image';
}
${lsdUtils.breakpoint(theme, 'sm', 'down')} {
&.post-card__article {
.post-card__subtitle {
display: none;
}
}
.post-card__title-text {
${lsdUtils.typography('subtitle1')}
${lsdUtils.typography('h6')}
}
}