public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH htdocs] download: use <wbr> to break up some long <pre> text
@ 2023-12-19 10:28 Mike Frysinger
  2023-12-22 15:51 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2023-12-19 10:28 UTC (permalink / raw)
  To: gdb-patches

These URLs with parenthetical asides can generate very wide text on
smaller devices which makes scrolling/panning a pain.  Use <wbr> in
a few places to let the browser know it may add line breaks when
needed.  On small devices, we get much more comfortable view, while
on desktops, things look exactly the same as before.
---
 download/index.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/download/index.html b/download/index.html
index 4ea7dfededd5..c94fd0826ced 100644
--- a/download/index.html
+++ b/download/index.html
@@ -55,15 +55,15 @@ You can download the most recent official release of GDB from either
 Project GNU's HTTPS server, or Red Hat's sources site:
 
 <pre>
-<a href="https://ftp.gnu.org/gnu/gdb" >https://ftp.gnu.org/gnu/gdb</a> (<a href="https://www.gnu.org/order/ftp.html">mirrors</a>)
-<a href="https://sourceware.org/pub/gdb/releases/?C=M;O=D" >https://sourceware.org/pub/gdb/releases/</a> (<a href="https://sourceware.org/mirrors.html">mirrors</a>)
+<a href="https://ftp.gnu.org/gnu/gdb">https://ftp.gnu.org/gnu/gdb</a><wbr> (<a href="https://www.gnu.org/order/ftp.html">mirrors</a>)
+<a href="https://sourceware.org/pub/gdb/releases/?C=M;O=D">https://sourceware.org/pub/gdb/releases/</a><wbr> (<a href="https://sourceware.org/mirrors.html">mirrors</a>)
 </pre>
 
 As with all GNU projects, you can verify the signatures for gnu project
 files with the keyring file from:
 
 <pre>
-<a href="https://ftp.gnu.org/gnu/gnu-keyring.gpg">https://ftp.gnu.org/gnu/gnu-keyring.gpg</a> (see <a href="https://ftp.gnu.org/README">https://ftp.gnu.org/README</a> for more info)
+<a href="https://ftp.gnu.org/gnu/gnu-keyring.gpg">https://ftp.gnu.org/gnu/gnu-keyring.gpg</a><wbr> (see <a href="https://ftp.gnu.org/README">https://ftp.gnu.org/README</a> for more info)
 </pre>
 
 Sources to the current development version are also available using
@@ -75,7 +75,7 @@ We've got GDB releases going back to the 2.4/2.8 timeframe in 1988.
 They're all on-line in the GDB HTTPS directory in:
 
 <pre>
-<a href="https://sourceware.org/pub/gdb/old-releases/?C=M;O=D">https://sourceware.org/pub/gdb/old-releases/</a> (<a href="https://sourceware.org/mirrors.html">mirrors</a>)
+<a href="https://sourceware.org/pub/gdb/old-releases/?C=M;O=D">https://sourceware.org/pub/gdb/old-releases/</a><wbr> (<a href="https://sourceware.org/mirrors.html">mirrors</a>)
 </pre>
 
 Be warned that few of these are likely to work on any modern
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH htdocs] download: use <wbr> to break up some long <pre> text
  2023-12-19 10:28 [PATCH htdocs] download: use <wbr> to break up some long <pre> text Mike Frysinger
@ 2023-12-22 15:51 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2023-12-22 15:51 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: gdb-patches

>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> These URLs with parenthetical asides can generate very wide text on
Mike> smaller devices which makes scrolling/panning a pain.  Use <wbr> in
Mike> a few places to let the browser know it may add line breaks when
Mike> needed.  On small devices, we get much more comfortable view, while
Mike> on desktops, things look exactly the same as before.

TIL <wbr>.
Anyway it seems fine.  Thanks for doing this.

Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-22 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-19 10:28 [PATCH htdocs] download: use <wbr> to break up some long <pre> text Mike Frysinger
2023-12-22 15:51 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).