Better scaling of images in HTML output

Peter Eisentraut <peter@eisentraut.org>

Commit: e446cde16d676b528f3aa91dcbe5bb9c5a3776d8
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-04-16T12:27:56Z
Releases: 12.0
Better scaling of images in HTML output

Turn on the previously disabled automatic scaling of images in HTML
output.  To avoid images looking too large on nowadays-normal screens,
restrict the width to 75% on such screens.

Some work is still necessary because SVG images without a viewBox
still won't scale, but that will a separate patch.

Discussion: https://www.postgresql.org/message-id/flat/6d2442d1-84a2-36ef-e014-b6d1ece8a139%40postgresql.org

Files

PathChange+/−
doc/src/sgml/stylesheet.css modified +7 −0
doc/src/sgml/stylesheet-html-common.xsl modified +1 −1

Discussion