Mercurial > p > roundup > code
changeset 4862:7ed1893ea3ac
issue2550793: Wrap messages with very long lines in the web interface.
Applied to templates classic, devel, minimal and website/issues.
jinja2 and responsive should already have this through bootstrap.
| author | Thomas Arendsen Hein <thomas@intevation.de> |
|---|---|
| date | Tue, 11 Mar 2014 10:13:58 +0100 |
| parents | b464fe110418 |
| children | 9db31cba6e0b |
| files | CHANGES.txt share/roundup/templates/classic/html/style.css share/roundup/templates/devel/html/style.css share/roundup/templates/minimal/html/style.css website/issues/html/style.css |
| diffstat | 5 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Tue Mar 11 10:03:44 2014 +0100 +++ b/CHANGES.txt Tue Mar 11 10:13:58 2014 +0100 @@ -21,6 +21,8 @@ - Drop comment in user settings about numeric hour offsets instead of using pytz timezone names. Due to DST these are wrong half of the year, it is much better to use timezone names. (Thomas Arendsen Hein) +- issue2550793: Wrap messages with very long lines in the web interface. + (Thomas Arendsen Hein) Fixed:
--- a/share/roundup/templates/classic/html/style.css Tue Mar 11 10:03:44 2014 +0100 +++ b/share/roundup/templates/classic/html/style.css Tue Mar 11 10:13:58 2014 +0100 @@ -14,6 +14,10 @@ text-decoration: none; } +pre { + white-space: pre-wrap; +} + table.body { border: 0; padding: 0;
--- a/share/roundup/templates/devel/html/style.css Tue Mar 11 10:03:44 2014 +0100 +++ b/share/roundup/templates/devel/html/style.css Tue Mar 11 10:13:58 2014 +0100 @@ -106,6 +106,10 @@ background-color: #ffffff; } +pre { + white-space: pre-wrap; +} + #search { text-align: right; } p.ok-message
