Re: Responsive images in pgweb docs

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Responsive images in pgweb docs
Date: 2019-04-04 11:17:04
Message-ID: 3aef325c-db3e-f11e-2eb2-154e19d5b667@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

Attachment Content-Type Size
0001-Better-scaling-of-images-in-HTML-output.patch text/plain 1.4 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2019-04-04 14:54:29 REFRESH MATERIALIZED VIEW CONCURRENTLY interaction with ORDER BY
Previous Message Daniel Westermann (DWE) 2019-04-04 08:30:24 Re: Supported versions missing at the top of the page