Closed blacklightpy closed 1 day ago
The width is actually desktop breakpoint + 300px by default. (So 1500px)
You can change that by updating or overriding this line:
Also please remember that my site (the one you screenshotted) is not neccesarily representative of the default Quartz settings or layout.
Yes, I only used it because I was using desktop: max(1200px, calc(100vw - 1px)),
in my site which didn't give this issue, because it's also directly affecting the variable you mentioned.
In this issue I was more concerned with why the defaults are set to 1200 + 300px
rather than 100vw - 1px
.
because large screens do DPI scaling (at least on reasonable browsers), px isnt physical pixels its a scaled unit
1200px prevents columns from being too large
On screens with viewport > 1200px, the content will be a 1200px box in the middle, as ceen here (viewport width = 1960px).
This could look bad on 4k screens. Having opinion on the minimum size is good, but then it should scale to other screens too.
I guess
desktop: max(1200px, calc(100vw - 1px)),
would be a good default.Here's the site at 3840px (4K) viewport:
Here's the site at 7680px (8K) viewport: