summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Martin Trapp <martrapp@users.noreply.github.com> 2024-02-26 16:06:09 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-02-26 16:06:09 +0000
commit03242c6c2259dc583b21c12ad60109ac72aa9d52 (patch)
tree151b01d88b9ba5a2be74d6430f5c731c0099e27b
parentade9759cae74ca262b988260250bcb202235e811 (diff)
downloadastro-03242c6c2259dc583b21c12ad60109ac72aa9d52.tar.gz
astro-03242c6c2259dc583b21c12ad60109ac72aa9d52.tar.zst
astro-03242c6c2259dc583b21c12ad60109ac72aa9d52.zip
[ci] format
-rw-r--r--packages/astro/components/ViewTransitions.astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/astro/components/ViewTransitions.astro b/packages/astro/components/ViewTransitions.astro
index 97bf62096..c33d9a3f5 100644
--- a/packages/astro/components/ViewTransitions.astro
+++ b/packages/astro/components/ViewTransitions.astro
@@ -52,7 +52,9 @@ const { fallback = 'animate' } = Astro.props;
if (supportsViewTransitions || getFallback() !== 'none') {
if (import.meta.env.DEV && window.matchMedia('(prefers-reduced-motion)').matches) {
- console.warn(`[transitions]: all view transition animations, including fallback animation, are disabled as this device has the prefer-reduced-motion setting enabled.`);
+ console.warn(
+ `[transitions]: all view transition animations, including fallback animation, are disabled as this device has the prefer-reduced-motion setting enabled.`
+ );
}
document.addEventListener('click', (ev) => {
let link = ev.target;