Re: Responsive images in pgweb docs - Mailing list pgsql-docs

From Jonathan S. Katz
Subject Re: Responsive images in pgweb docs
Date
Msg-id 3a0d7bbd-c854-3fba-4079-acee9ff9c12a@postgresql.org
Whole thread Raw
In response to Re: Responsive images in pgweb docs  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Responsive images in pgweb docs
List pgsql-docs
On 4/1/19 5:57 AM, Peter Eisentraut wrote:
> On 2019-03-31 16:23, Jonathan S. Katz wrote:
>> When testing the rendering of the images on the pgweb docs, I discovered
>> that they are not responsive (see attached) and in its current state,
>> basically makes any page that loads an image significantly more
>> challenging to read on mobile.
>
> Image scaling is currently intentionally disabled for the HTML output
> (see ignore.image.scaling in stylesheet-html-common.xsl).  But if we
> turn it on, then the images will automatically be huge if you have large
> screen.  Is that better?

Yes - we can control how much of the screen the image will take up with
the Bootstrap grid CSS classes, which is what the patch on the pgweb
side does.

Thanks,

Jonathan


Attachment

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: bgwriter_lru_multiplier maximum value
Next
From: Peter Eisentraut
Date:
Subject: Re: Responsive images in pgweb docs