Kotlin / dokka

API documentation engine for Kotlin
https://kotl.in/dokka
Apache License 2.0
3.44k stars 408 forks source link

Switch to a narrow text container #3291

Open d-ambatenne opened 1 year ago

d-ambatenne commented 1 year ago

I would suggest to make text container narrower to improve the page composition and reading experience.

’Reading a long line of type causes fatigue: the reader must move his head at the end of each line and search for the beginning of the next line.… Too short a line breaks up words or phrases that are generally read as a unit.’ (ref: https://www.smashingmagazine.com/2014/09/balancing-line-length-font-size-responsive-web-design/)

Image

Image

It is also a good option to synchronise text container with with documentation. Note that there is no need to adjust the content container, code areas and multi column layouts can stay wide.

d-ambatenne commented 1 year ago

we need a design