Re: Responsive images in pgweb docs

Поиск
Список
Период
Сортировка
От Jonathan S. Katz
Тема Re: Responsive images in pgweb docs
Дата
Msg-id 3a0d7bbd-c854-3fba-4079-acee9ff9c12a@postgresql.org
обсуждение исходный текст
Ответ на Re: Responsive images in pgweb docs  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Responsive images in pgweb docs  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список 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


Вложения

В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: bgwriter_lru_multiplier maximum value
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Responsive images in pgweb docs