Merge ~pelpsi/launchpad:long-translations-hints-do-not-wrap into launchpad:master

Proposed by Simone Pelosi
Status: Merged
Approved by: Simone Pelosi
Approved revision: 293da5cfb61d30cc4b8394020dc159a7913e9b89
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~pelpsi/launchpad:long-translations-hints-do-not-wrap
Merge into: launchpad:master
Diff against target: 13 lines (+1/-1)
1 file modified
lib/lp/translations/templates/currenttranslationmessage-translate-one.pt (+1/-1)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+439273@code.launchpad.net

Commit message

Long translations hints do not wrap and cause the save and continue button to be offscreen

Added css rule white-space:pre-wrap to wrap long translation hints

LP: #1475300

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/translations/templates/currenttranslationmessage-translate-one.pt b/lib/lp/translations/templates/currenttranslationmessage-translate-one.pt
2index 3035499..2dde4d2 100644
3--- a/lib/lp/translations/templates/currenttranslationmessage-translate-one.pt
4+++ b/lib/lp/translations/templates/currenttranslationmessage-translate-one.pt
5@@ -92,7 +92,7 @@
6 <span class="sprite info" title="Developer's note to translators"></span>
7 </th>
8 <td>
9- <pre class="lesser" tal:content="view/source_comment">
10+ <pre class="lesser" tal:content="view/source_comment" style="white-space: pre-wrap;">
11 This refers to the content type.
12 </pre>
13 </td>

Subscribers

People subscribed via source and target branches

to status/vote changes: