Re: Documentation website reading widths

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Cédric Villemain <Cedric(dot)Villemain(at)Data-Bene(dot)io>
Cc: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Noob Trall <noob(dot)trall(at)mail(dot)ru>, pgsql-www(at)lists(dot)postgresql(dot)org
Subject: Re: Documentation website reading widths
Date: 2025-02-04 11:10:44
Message-ID: A7CE093A-B81B-4E9D-87BA-1E75444D0CBF@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

> On 4 Feb 2025, at 08:29, Cédric Villemain <Cedric(dot)Villemain(at)Data-Bene(dot)io> wrote:
> On 03/02/2025 08:51, Álvaro Herrera wrote:
>> On 2025-Feb-02, Noob Trall wrote:

>>> Hello. As per old Wikipedia’s design, it is hard to read text from a
>>> wide screen since it spans like so without any limitations:
>>> I understand it may be so because of the widths of SQL queries.
>>> I propose to add a switcher alongside the «Dark mode» one to select
>>> reading width, and change «max-width» property of paragraphs inside so
>>> that it would be easier to read.
>>>
>> What examples of websites can you list that work this way?
>
> I second the request or to do something here, I think wikipedia is doing that:
> https://en.wikipedia.org/wiki/LaTeX ---

To play around with something like this and to see what it would look like; in
a website inspector disable the col-11 class on the pgContentWrap div and then
use with width attribute on the div to limit the width. (An actual fix might
be very different but this allows one to see easily.)

I only use small laptop screens so I've not really come across this as a
problem but with the very wide screens that are common on desktops today I can
see a very wide textblock being uncomfortable to read.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Kushal Hada 2025-02-04 15:34:32 Re: Documentation website reading widths
Previous Message Cédric Villemain 2025-02-04 07:29:06 Re: Documentation website reading widths