summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-04-09 09:05:35 +0200
committerByron Jones <glob@mozilla.com>2015-04-09 09:05:35 +0200
commit7c5fdd252e1f7dbef712da780ce39153b1e015df (patch)
tree1d77003bf11095ab56554332ae9a349c7d841704
parent634f31d6c64894bcf2f0788525e9a9286e9de314 (diff)
downloadbugzilla-7c5fdd252e1f7dbef712da780ce39153b1e015df.tar.gz
bugzilla-7c5fdd252e1f7dbef712da780ce39153b1e015df.tar.xz
Bug 1152662: user story text should wrap
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl6
-rw-r--r--extensions/BugModal/web/bug_modal.css1
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 {