fix: add fix for older cached items

This commit is contained in:
Ayo 2023-06-05 17:20:21 +02:00
parent af4ece6d77
commit dbedcc9d1e
2 changed files with 13 additions and 7 deletions

View file

@ -72,3 +72,15 @@ const datePublished =
}
}
</style>
<style is:global lang="scss">
/**
forced fix for older cached items before v0.1.5
*/
content {
p, table, ul {
margin: 1em 0 !important;
font-size: 20px;
}
}
</style>

View file

@ -36,7 +36,7 @@ const { title } = Astro.props;
}
</style>
<style is:global>
<style is:global lang="scss">
:root {
--system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@ -44,10 +44,4 @@ const { title } = Astro.props;
html * {
font-family: var(--system-ui);
}
/* fix for older cached items */
p, table, ul {
margin: 1em 0 !import;
font-size: 20px;
}
</style>