I was trying to work out a way to hack observable so it looked better on my 4k monitor.
I worked out that the css variable --max-width-8: 64rem was what was controlling the width. But changing that didn’t work because of the iFrame (i think).
Then I noticed the CSS .wm8 was used in #app > div > main > div.flex.w-100.mw8.center but because that’s the outside the iFrame document.querySelector("#app > div > main > div.flex.w-100.mw8.center")
RuntimeError: Blocked a frame with origin “…” from accessing a cross-origin frame.
So for now I have a tampermonkey script to make my life easier.
But what would be good is it observable looked at the browser width and used .mw9 if the screen is 4k and it could even work with smaller browser sizes as it goes down to .mw1
Below is a pic using .mw9