GNU bug report logs - #47607
[PATCH] website: header: Make dropdowns width vary according to their content

Previous Next

Package: guix-patches;

Reported by: Luis Felipe <luis.felipe.la <at> protonmail.com>

Date: Mon, 5 Apr 2021 22:32:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Luis Felipe <luis.felipe.la <at> protonmail.com>
To: 47607 <at> debbugs.gnu.org
Subject: [bug#47607] [PATCH] website: header: Make dropdowns width vary according to their content
Date: Mon, 05 Apr 2021 22:31:10 +0000
[Message part 1 (text/plain, inline)]
Hi,

Currently, a menu item that is longer than its container box is broken into lines and looks as separate items. For example:

https://luis-felipe.gitlab.io/media/2021/04/gnu-guix-website-dropdown-menu-odd-wrapping-2021-04-05.png

This change makes submenus as wide as their widest item:

https://luis-felipe.gitlab.io/media/2021/04/gnu-guix-website-dropdown-menu-fixed-wrapping-2021-04-05.png


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/
[0001-website-header-Make-dropdowns-width-vary-according-t.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.