smaller text on mobile
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 49s

This commit is contained in:
ebby 2026-08-21 14:12:07 +02:00
parent 4ded1c127d
commit eb96f9d85b

View file

@ -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>