smaller text on mobile
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 49s
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 49s
This commit is contained in:
parent
4ded1c127d
commit
eb96f9d85b
1 changed files with 8 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ interface Props {
|
|||
const { frontmatter } = Astro.props;
|
||||
|
||||
const titleImg = findImageByPath(frontmatter.image.path);
|
||||
const localeDate = formatLocalizedDateString(frontmatter.date)
|
||||
const localeDate = formatLocalizedDateString(frontmatter.date);
|
||||
---
|
||||
|
||||
<Main>
|
||||
|
|
@ -71,4 +71,11 @@ const localeDate = formatLocalizedDateString(frontmatter.date)
|
|||
margin: 32px 0 64px 0;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 800px) {
|
||||
.markdown-content {
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue