summaryrefslogtreecommitdiff
path: root/examples/basics/src/components
diff options
context:
space:
mode:
authorGravatar FredKSchott <FredKSchott@users.noreply.github.com> 2022-09-28 15:48:55 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-09-28 15:48:55 +0000
commit97aabe00755eea05858a7a2a6328b28f6361e1fd (patch)
tree19af87017e4f3644e30ac74c14bfddae114ea867 /examples/basics/src/components
parentd37a840cd2a411c22bb79633a6dcf82bbb025640 (diff)
downloadastro-97aabe00755eea05858a7a2a6328b28f6361e1fd.tar.gz
astro-97aabe00755eea05858a7a2a6328b28f6361e1fd.tar.zst
astro-97aabe00755eea05858a7a2a6328b28f6361e1fd.zip
[ci] format
Diffstat (limited to 'examples/basics/src/components')
-rw-r--r--examples/basics/src/components/Card.astro6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/basics/src/components/Card.astro b/examples/basics/src/components/Card.astro
index 2515ee70f..ee57d4df4 100644
--- a/examples/basics/src/components/Card.astro
+++ b/examples/basics/src/components/Card.astro
@@ -11,7 +11,8 @@ const { href, title, body } = Astro.props;
<li class="link-card">
<a href={href}>
<h2>
- {title} <span>&rarr;</span>
+ {title}
+ <span>&rarr;</span>
</h2>
<p>
{body}
@@ -29,7 +30,7 @@ const { href, title, body } = Astro.props;
border-radius: 0.5rem;
background-position: 100%;
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1);
- box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.link-card > a {
@@ -58,5 +59,4 @@ const { href, title, body } = Astro.props;
.link-card:is(:hover, :focus-within) h2 {
color: rgb(var(--accent));
}
-
</style>