diff options
author | Byron Jones <glob@mozilla.com> | 2015-04-09 09:05:35 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-04-09 09:05:35 +0200 |
commit | 7c5fdd252e1f7dbef712da780ce39153b1e015df (patch) | |
tree | 1d77003bf11095ab56554332ae9a349c7d841704 /extensions | |
parent | 634f31d6c64894bcf2f0788525e9a9286e9de314 (diff) | |
download | bugzilla-7c5fdd252e1f7dbef712da780ce39153b1e015df.tar.gz bugzilla-7c5fdd252e1f7dbef712da780ce39153b1e015df.tar.xz |
Bug 1152662: user story text should wrap
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 6 | ||||
-rw-r--r-- | extensions/BugModal/web/bug_modal.css | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 75aab63d3..d89e12127 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -874,11 +874,7 @@ [% END %] </div> [% END %] - [% IF bug.cf_user_story == "" %] - --- - [% ELSE %] - <pre id="user-story">[% bug.cf_user_story FILTER html %]</pre> - [% END %] + <pre id="user-story">[% bug.cf_user_story FILTER html %]</pre> [% IF user.id %] <textarea id="cf_user_story" name="cf_user_story" style="display:none" rows="10" cols="80"> [%~ bug.cf_user_story FILTER html ~%] diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index 694a726a5..b9e6817fc 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -256,6 +256,7 @@ input[type="number"] { #user-story { margin: 0; + white-space: pre-wrap; } #user-story-actions { |