summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-11-01 17:14:06 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-11-01 17:14:06 +0000
commitbf1fd0fa76d19d3bc4ce501b021f2e0cf9b095c9 (patch)
treec84cbcd02631f8a0fc53ba1dc27a75b5d4b03574
parentcc3278bb69738c4e0c7811d683ead71bea6f46c1 (diff)
downloadastro-bf1fd0fa76d19d3bc4ce501b021f2e0cf9b095c9.tar.gz
astro-bf1fd0fa76d19d3bc4ce501b021f2e0cf9b095c9.tar.zst
astro-bf1fd0fa76d19d3bc4ce501b021f2e0cf9b095c9.zip
[ci] format
-rw-r--r--packages/astro/components/ViewTransitions.astro25
1 files changed, 13 insertions, 12 deletions
diff --git a/packages/astro/components/ViewTransitions.astro b/packages/astro/components/ViewTransitions.astro
index b8ac44100..0bdaf1d46 100644
--- a/packages/astro/components/ViewTransitions.astro
+++ b/packages/astro/components/ViewTransitions.astro
@@ -7,19 +7,20 @@ export interface Props {
const { fallback = 'animate' } = Astro.props;
---
+
<style is:global>
-/* Route announcer */
-.astro-route-announcer {
- position: absolute;
- left: 0;
- top: 0;
- clip: rect(0 0 0 0);
- clip-path: inset(50%);
- overflow: hidden;
- white-space: nowrap;
- width: 1px;
- height: 1px;
-}
+ /* Route announcer */
+ .astro-route-announcer {
+ position: absolute;
+ left: 0;
+ top: 0;
+ clip: rect(0 0 0 0);
+ clip-path: inset(50%);
+ overflow: hidden;
+ white-space: nowrap;
+ width: 1px;
+ height: 1px;
+ }
</style>
<meta name="astro-view-transitions-enabled" content="true" />
<meta name="astro-view-transitions-fallback" content={fallback} />