mojolicious / mojolicious.org

:cookie: Mojolicious Website
https://mojolicious.org
33 stars 19 forks source link

.mojo-perldoc container max-width shouldn't be 100% #19

Closed smonff closed 3 years ago

smonff commented 3 years ago

By limiting the max-width of .mojo-perldoc to something like 768px or 70%, the readability of the documentation pages are improved. Reading such pages on a full width is almost impossible on large screens and should be artificially limited. The ${limit} should be debated but I think a [70-75]% range is reasonable.

Code zones are not a problem since they are mostly always short. Prose zones are more problematic and difficult to read on large screens. They should be artificially limited for larger screens, responsiveness doesn't mean there shouldn't be limits.

After image

Before image

kraih commented 3 years ago

Maybe, i don't know.