Re: Responsive images in pgweb docs
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: "Jonathan S. Katz" <jkatz@postgresql.org>,
Pg Docs <pgsql-docs@lists.postgresql.org>
Date: 2019-04-04T11:17:04Z
Lists: pgsql-docs
Attachments
- 0001-Better-scaling-of-images-in-HTML-output.patch (text/plain) patch 0001
Here is a patch to improve this a bit. It turns back on making the SVG images in the HTML output scale with the page size. I also added some CSS stuff to make the width 75% on large screens for a more pleasing look. This fixes it for the gin image. The pagelayout image still doesn't scale, presumably for the reasons you identified inside the SVG code. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add viewBox attribute to storage page layout SVG image
- 29046c44f360 12.0 landed
-
Better scaling of images in HTML output
- e446cde16d67 12.0 landed