[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63720] [PATCH] website: List languages in two columns.
From: |
Ludovic Courtès |
Subject: |
[bug#63720] [PATCH] website: List languages in two columns. |
Date: |
Mon, 05 Jun 2023 14:47:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:
> * website/apps/base/templates/components.scm (navbar): Specify a CSS
> class for the languages dropdown list.
> * website/static/base/css/navbar.css (languages-dropdown-list): New
> rule.
> ---
>
> The translations dropdown is too long and high. It seems to me
> adjusting the number of columns dynamically and limiting the height is
> not possible, unless we rewrite dropdowns to use CSS flexbox in <div>
> elements instead of lists. Instead, this patch sets a fixed column
> number of two, which should be appropriate for the foreseeable future.
>
> Also, there is only one languages dropdown, so this patch could
> specify an id and not a new class for the languages dropdown. But a
> class works too and works always, so using a class seems better (?).
No opinion on this, but two columns sounds like a good idea to me.
Thanks,
Ludo’.
- [bug#63720] [PATCH] website: List languages in two columns.,
Ludovic Courtès <=