gitweb: improve long line wrapping behavior
commit6cd5e9f6569282ac6bf7fa6a57ed61e7fd0bb644
authorKyle J. McKay <mackyle@gmail.com>
Fri, 8 Apr 2016 03:42:12 +0000 (7 20:42 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 8 Apr 2016 03:42:12 +0000 (7 20:42 -0700)
tree03dea13ab94bead7725c98cb205e8e42c7245f18
parent468793dc74c9d82470e0d51a537fc0d9c206ae40
gitweb: improve long line wrapping behavior

Move the ' ' separating the line number from the text into the
line number anchor and make it white-space:pre so that when
long lines get wrapped the line number sticks to the front of
the line rather than being on its own line because the ' '
after the line number allows a wrap to the next line.

This was not a problem prior to the change from using 'pre'
to 'pre-wrap'.  However, rather than revert, we do this because
'pre-wrap' is more browser compatible than 'break-word', so we
want to keep the pre-wrap change.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/gitweb.perl
gitweb/static/gitweb.css