adjust position of styling tag for consistency

This commit is contained in:
emma 2025-03-09 18:30:02 -04:00
parent b978de6c9e
commit 5bae25eca1

View File

@ -2,6 +2,8 @@
const { url, title, description } = Astro.props;
---
<li><a href=`${url}`>{title}</a> <p>{description}</p></li>
<style>
p {
margin: 0.5rem;
@ -10,6 +12,4 @@ const { url, title, description } = Astro.props;
a {
margin-left: 0.5rem;
}
</style>
<li><a href=`${url}`>{title}</a> <p>{description}</p></li>
</style>