diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c0eb1..be826f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ # Next Release +* **Admin Feature** Feedback items now word wrap * Location is now updated on registration. Customers location is truncated to 2 decimal places based on their postcode. * Location is also updated on changing a users postcode diff --git a/public/static/admin/css/main.css b/public/static/admin/css/main.css index b2e6e97..ee131c6 100644 --- a/public/static/admin/css/main.css +++ b/public/static/admin/css/main.css @@ -15,3 +15,7 @@ body { height: 400px; background-color: grey; } + +.feedback-text { + white-space: pre-wrap; +} diff --git a/templates/admin/feedback/index.html.ep b/templates/admin/feedback/index.html.ep index 049449c..5e44984 100644 --- a/templates/admin/feedback/index.html.ep +++ b/templates/admin/feedback/index.html.ep @@ -22,7 +22,7 @@
%= format_human_datetime $feedback->submitted_at;
-
<%= truncate_text $feedback->feedbacktext => 50; %>
+
<%= truncate_text $feedback->feedbacktext => 50; %>