Embedded code scales up to be bigger

I’ve tried importing 2 different sets of custom code and when imported they look way more scaled up than what it’s supposed to look like ; You can see when it’s in readymag it just gets huge for no apparent reason, even in the code it says the right size but for some reason in readymag its abnormally wrong, this issue started happening a couple months ago, because code like this was fine when I made the website in around December 2023.

Please someone help me out! It’s not an issue with the code I’m trying to embed as it works fine on framer!