by TheWoodsy · 4y ago · 0 comments
I have monitors either side of my primary in portrait mode specifically for looking at a bunch of code/text and it still wastes at least half of the useful display area.
https://i.imgur.com/Qk7fM35.png
If I wanted this, I'd press the reader button in Firefox or squish my browser window. Why? Shakes fist at sky
If that text was full width along your screen you'd be wasting vertical screen space instead. Will you ask them to write more to fill your screen up?
What would be nice is a special element <viewport sizeable style=“width:n”> so a user could either enjoy a default width or drag one side of it to resize its margin at both sides, without resizing a window. Or, instead of an element it could be purely a browser viewport-resize feature, like they do for textareas.
Meta: it’s really frustrating that every time an argument about web ui starts, nobody thinks of how to actually make it better and just holds on some particular use case or preference.
Sure there is: Tiling window managers. Available for every desktop OS in some form or another. I assume people who are power users enough to have large, multiple monitors can help themselves.
In my image you can see that either portrait or landscape orientation, there is considerable 'dead' area (edit: either side), by default, even if the text was many paragraphs long.
The usual solution is to smash "ctrl numpad +" four times til things fit perfectly at (usually) 150%. It's actually uncanny how I'll do this without even thinking while browsing.
Of course, this looks like wasted space when you have a landscape-oriented monitor... I personally very rarely maximize my browser so that I read in more of a portrait-style mode, regardless of the orientation of my display.
What's your solution? The only other option I can think of is multi-column newspaper style, but that's pretty fundamentally incompatible with the scrolling model of the web.
That's probably why you only see multi-column formats in page-based media like physical newspapers and PDF papers.
It isn’t though. If browsers supported overflowing text into a “next” container (defined via hierarchy, selectors, whatever), designers could just design repeating pages of layouts like they usually do with full-height marketing stripes.
Something like this: https://jsfiddle.net/n87hkdf4/
I think anything else would require tedious scrolling up and down all the time or worse - horizontal scrolling!
0vh
margin
column 1 column 2
text text
text text
margin
100vh
margin
column 3 …
…
200vh
Content flows naturally through column 1, 2, 3 and so on. No lines are cut in half horizontally (in a sense of overflow-y). When a window height resizes, content reflows accordingly - no scrolling required to read a full page at any window height.I don't need solutions to problems I don't have.
If people find it hard to read long lines on my website they can make their browser window thinner. I don't feel compelled to impose my reading abilities (or lack thereof) on them.
So because long lines are hard to read, line length is clamped to at least provide a decent experience to all those users.
@-moz-document url-prefix("about:reader") {
.container{
max-width:100% !important;
}
.toolbar-container{
display:none !important;
}
}
Make sure to set your preferred size/color first.Besides, the other half of my monitor is usually taken up by another window or two.
There are many citations that lead to other studies on the same topic.