this is not how to inject css^^
i guess you can just put it here too if you dont want any sheets
to make it scaleable, look at my example, it should scale (though it does not respect ratio so you have to be sure its a square.
edit: i found a fix for aspect ratio, well it works in the browser atleast, it doesnt work in the designer
.psc-fixMarkdownElementHeight > div{height:auto; width:100%; aspect-ratio: 1 / 1;}
Here you go!
You'll have to take an other look at the labels tho
cube.zip (5.5 KB)
though you might have to put .psc-fixMarkdownElementHeight > div{height:100%; width:auto; aspect-ratio: 1 / 1;}
You could do that with a media query maybe, idk you'll have to see what works for you.
or container queries if you have a decently updted browser i'll take alook at that tmw