| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера