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 the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?