pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan S. Katz <jkatz@postgresql.org>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Pg Docs <pgsql-docs@lists.postgresql.org>
Subject: Re: Responsive images in pgweb docs
Date: Mon, 1 Apr 2019 07:23:01 -0400
Message-ID: <3a0d7bbd-c854-3fba-4079-acee9ff9c12a@postgresql.org> (raw)
In-Reply-To: <696236df-5dd1-36a4-fb6a-84e40ecb10f8@2ndquadrant.com>
References: <6d2442d1-84a2-36ef-e014-b6d1ece8a139@postgresql.org>
	<696236df-5dd1-36a4-fb6a-84e40ecb10f8@2ndquadrant.com>

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

Attachments:

  [application/pgp-signature] signature.asc (832B, ../3a0d7bbd-c854-3fba-4079-acee9ff9c12a@postgresql.org/2-signature.asc)
  download

view thread (7+ messages)  latest in thread

Message-ID: <3a0d7bbd-c854-3fba-4079-acee9ff9c12a@postgresql.org>
Permalink:  ../3a0d7bbd-c854-3fba-4079-acee9ff9c12a@postgresql.org/
Also on:    postgresql.org/message-id/3a0d7bbd-c854-3fba-4079-acee9ff9c12a@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: jkatz@postgresql.org, peter.eisentraut@2ndquadrant.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Responsive images in pgweb docs
  In-Reply-To: <3a0d7bbd-c854-3fba-4079-acee9ff9c12a@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox