diff --git a/src/components/mdx/BasicImage.astro b/src/components/mdx/BasicImage.astro index 6e04895d..56cc6349 100644 --- a/src/components/mdx/BasicImage.astro +++ b/src/components/mdx/BasicImage.astro @@ -122,6 +122,10 @@ const isImageMetadata = typeof imageSrc !== "string" && "src" in imageSrc; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } + .image-wrapper.loaded::before { + animation: none; + } + @keyframes pulse { 0%, 100% { @@ -168,3 +172,16 @@ const isImageMetadata = typeof imageSrc !== "string" && "src" in imageSrc; } } + +