docsify icon indicating copy to clipboard operation
docsify copied to clipboard

Reset .markdown-section max-width to 800px

Open cippaciong opened this issue 9 months ago • 2 comments

Feature request

Reset .markdown-section max-width to 800px or a similar value

Problem or desire

Docsify used to limit articles max-width to 800px but this was changed to 80% in #1017, claiming that such value would look better on wider screens.

As already mentioned by @jhildenbiddle in a comment to that PR, I think this was a mistake since that would negatively affect the readability of the content.

IMO that change lead to two regressions:

  • As said, readability becomes much harder on wider screens because line length is definitely too long
  • Apparently readability was negatively affected also on smaller screens (e.g. mobile devices) since 80% would introduce unwanted margins in that scenario. See for example this comment and #1273

Proposal

Restore .markdown-section max-width to 800px or a similar value.

Implementation

I'm not an expert, but I should manage to submit a PR if maintainers consider this change acceptable

cippaciong avatar May 17 '24 09:05 cippaciong