summaryrefslogtreecommitdiffstats
path: root/dba_write.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-06-10 16:15:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-06-10 16:15:43 +0000
commit9990d4494b540b6b77b9b9e8c326a1f5e0e431eb (patch)
tree144405dae7549389cb8f0e84b68c1948cc20df36 /dba_write.c
parent7aa5d287ad5185549e44868b9474c7b186d69a5f (diff)
downloadmandoc-9990d4494b540b6b77b9b9e8c326a1f5e0e431eb.tar.gz
In HTML output, for lists that have an -indent argument, just use
a uniform indentation in CSS adapted to the viewport width and ignore the value of the argument taken from mdoc(7). While author-specified widths somewhat work as a micro-optimization in terminal and typeset output, they are nothing but harmful in HTML style= attributes because they break responsive design, whereas using a reasonable default indent almost never results in ugly output. Admittedly, the author-specified width might occasionally look even better, but only slightly so, and only for some viewport sizes. Based on guidance provided by John Gardner.
Diffstat (limited to 'dba_write.c')
0 files changed, 0 insertions, 0 deletions