Issue with modal shift when opening in Astro frontend, resolved by separating the embedding.

2 replies
Last updated: Mar 19, 2024
wondering if anyone knows what’s causing this shift when a modal is opened. At first i thought it was Tailwind’s preflight but I disabled that and and it still occurs. I thought my css debugging skills were good but this is putting me to the test.
Mar 16, 2024, 7:03 AM
Looks like you’re embedding your Studio in an Astro frontend. What does your code look like for that?
Mar 18, 2024, 5:22 PM
Ya I was indeed embedding in Astro. I’m starting to understand that embedding almost always causes conflicts and am just separating for the time being. Resolved it when it stand alone.
Mar 19, 2024, 2:52 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?