Re: Responsive images in pgweb docs
"Jonathan S. Katz" <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.documentation |
|---|---|
| Message-ID | <[email protected]> |
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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE+oS2la8r95ogZD/x8QSccp8cZScFAlyh9JUACgkQ8QSccp8c ZSdL2RAAry+t12FlKdpzIB8DloILV/WodBFGZ73xWMe4SivCyFzfAcu57OnTkTxn pDGdrgAuq5RKV7N9Ow/dDAFz0mCstHrawx2+NsakvpYWj9OlimwGCLMh8rESwfry PmrZ2VkhPDlGcPl/KAYjQVnLEceoQOFFELEJvVZ4ZBF5ie9oGOsDXS74v8XwmNb8 6z53/TK+GJaSvXGCE4hstK0LbTyQVqLUjQjxNng0OEnzGzHH4K+x0fQX93qzime0 mj0YO6GO37FuHtM3Pa7IMDPpfbxWsk8iAev8f7xYt/F+sgiplnRULN072xB/qwNI cYwiu7KazqwWactEJcjdrSN3CVLpXeLy4N59KAq5AOL6Xt4vee77gJ/rfJhgMv4R tzTy/521XFNvdLC1vu4OxB8MjxPTeYbHQnzfUdFWoFHB0gYSr3Q7QQ9/ECfFDkJx rbNscii76KYbqskg1YU7ggovEToKal6z2wXf9L/1V0QyUpcIvYzrvN85bJ9pPM01 1fwGmCONte7RcZs7GQzY3BmxjOQHWGqhmXzeyo5/5x595SuI2FcHSvmrG5Qk7Xu4 ToVsOiWavRMOgJ0UvDCSY5HigVQF9lHWJaN4RBy/BzJ2jsaOW59LY9ezCR4j92jm Fba6/RFMSJSxIXTPfEbLORyJeOTGi2/dsRrtZu8pPhXxz2sLnFE= =FzlU -----END PGP SIGNATURE-----