diff options
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/blog/[...slug].astro | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 86690c6..646dabb 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -25,9 +25,14 @@ const { Content } = await entry.render(); </main> </Page> -<style> +<style is:global> img { width: 20%; - height: 50%; + } + + @media (max-width: 768px) { + img { + width: 50%; + } } </style> |
