[PATCH htdocs] menu: do not break links in the middle
Mike Frysinger
vapier@gentoo.org
Wed Dec 20 03:13:51 GMT 2023
When links start to wrap, the browser might wrap in the middle of a
link which can be pretty confusing. For example, "Report a bug" may
break into "Report" at the end of one line and "a bug" at the start
of the next line. Disable this for spacing within a link so browsers
wrap the entire link or none at all.
---
glibc.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/glibc.css b/glibc.css
index bf71bb4b73e9..40f6d6e2f8d7 100644
--- a/glibc.css
+++ b/glibc.css
@@ -84,6 +84,7 @@ ul.menu a:hover, ul.menu a:active {
ul.menu li {
display:inline;
+ white-space: pre;
}
#banner {
--
2.43.0
More information about the Libc-alpha
mailing list