Skip to content

0.23.0

Choose a tag to compare

@feder-cr feder-cr released this 08 Sep 20:27
· 4 commits to main since this release
32dfa2b

The conversation is a reading column again, and the divider between the two panes moves.

ch is not a character. It is the advance width of the digit zero, which in a proportional font is much wider than an average letter, so a cap written in ch reads like a character count and is not one. Measured on this font: the zero is 7.55px at 14px system-ui, the average character of a sentence is 6.11px. That is 1.24 characters to a ch, and the column had drifted to 98 characters a line - past the 65-72 the chat design guidance asks, past 75, past the 80 that WCAG 2.1 sets as a cap. It is 75 now.

The text sizes were absolute, so a default font size somebody set in their browser to read more comfortably did nothing here. They are relative now: the same pixels at the usual default, and different for anybody who changed it. Prose in the answers has a little more leading, which is what long-form reading asks for.

Which pane deserves the room is a property of the task - reading a long answer wants one ratio, watching a form get filled wants another - so the divider is a real separator now. Drag it, move it with the arrow keys, double-click it back to the default. It remembers, and neither pane can be dragged away to nothing.