diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-07 23:10:15 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-02-07 23:10:15 -0500 |
| commit | 4cddd911654b77edaa171f775a66fd65491acc30 (patch) | |
| tree | 01385857602ed3994435b2ef3c1c408bc32d7671 /src/pages/blog | |
| parent | 7474e6255b5f9d5a67770b2613d0668056224f2d (diff) | |
| download | personal-website-4cddd911654b77edaa171f775a66fd65491acc30.tar.gz personal-website-4cddd911654b77edaa171f775a66fd65491acc30.tar.bz2 personal-website-4cddd911654b77edaa171f775a66fd65491acc30.zip | |
Update package.json and Guestbook.jsx
Diffstat (limited to 'src/pages/blog')
| -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> |
